Rect
Represents a rectangle with position and dimensions.
Props
The following table outlines the props for the Rect:
| Name | Type | Default | Description |
|---|---|---|---|
| height | number | - | The height of the rectangle in pixels. |
| width | number | - | The width of the rectangle in pixels. |
| x | number | - | The x-coordinate of the rectangle's top-left corner. |
| y | number | - | The y-coordinate of the rectangle's top-left corner. |