Skip to main content

Rectangle

Represents a rectangle with position and dimensions.

Sinceโ€‹

2.0.0


Propertiesโ€‹

x: numberโ€‹

X position of the top-left corner.

y: numberโ€‹

Y position of the top-left corner.

width: numberโ€‹

Width of the rectangle.

height: numberโ€‹

Height of the rectangle.