x property Null safety
final
X coordinate of a user view
Used to set the x coordinate of a user view. 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.
An error occurs if the user view is larger than the canvas.
Implementation
final int x;