Rect.Rect

void Rect(float x, float y, float width, float height)

Create a 2D rectangle, defined by the top left corner of the rectangle, and its width/height.

   
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.
float width The width of the rectangle.
float height The height of the rectangle.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!