Aller au contenu principal

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.