Beta
Beta
_Beta
_Beta
angleThe angle of rotation of the Rect in radians
Beta
xThe x coordinate of the Rect
Beta
yThe y coordinate of the Rect
Beta
Beta
Get the center of the Rect as a Point.
(use Rect.center.Point.array to get the center as a PointArray).
the center of the Rect
Beta
Beta
Beta
Beta
Beta
Beta
Checks for intersection with another shape
the other shape to check for intersection
true
if the shapes intersect, false
otherwise
Beta
Resizes the Rect leaving its center in the same place
the new size for the Rect
Alpha
Rotates the Rect by theta around a given origin
the amount in radians to rotate
the origin Point to rotate around (default: Rect.center))
Beta
Move the Rect to a new position
the new position
Static
from
A class for Rectangles.