A structure representing a rectangle in a two-dimensional plane.
Properties
x: number
The x-coordinate of the upper-left corner.
y: number
The y-coordinate of the upper-left corner.
width
width: number
The rectangle width.
height
height: number
The rectangle height.