The position of the rectangle. (Top-left corner if x and y of size are both >= 0)
The size of the rectangle.
Returns the area of the Rect2.
Returns the RectBounds of the Rect2.
Returns the perimeter of the Rect2.
Returns the RectComparisonData of the Rect2 and another Rect2.
Static xywhGenerated using TypeDoc
A 2D axis-aligned bounding box (AABB). Includes extra methods for math and utility.