Rect

12 Sep 20251 minute to read

Rect defines and processes rectangular regions

Properties

height number

Sets the height of a rectangular region

Defaults to 0

width number

Sets the width of a rectangular region

Defaults to 0

x number

Sets the x-coordinate of the starting point of a rectangular region

Defaults to 0

y number

Sets the y-coordinate of the starting point of a rectangular region

Defaults to 0