Skip to main content

Rectangle.x Property

Gets the x-coordinate of the upper-left corner of the rectangle.

Declaration

x: number

Property Value

Type Description
number

The x-coordinate.

See Also