y property Null safety

int y
final

Y coordinate

Set the y coordinate of the canvas Specify the coordinates of a point in the canvas using x and y coordinates. The point serves as the upper left corner of a placeholder image. Value range: 0~1920. If the value is an odd number, rounded down to the nearest even number.

Implementation

final int y;