struct Rect
A pretty straightforward 2D rectangle, defined by the top left corner of the rectangle, and its width/height.
Instance Fields and Properties
float height | The height of the rectangle. |
float width | The width of the rectangle. |
float x | The X axis position of the top left corner of the rectangle. |
float y | The Y axis position of the top left corner of the rectangle. |
Instance Methods
Rect | Create a 2D rectangle, defined by the top left corner of the rectangle, and its width/height. |
Found an issue with these docs, or have some additional questions? Create an Issue on Github!