Skip to main content
A newer version of this page is available. .

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