Create rectangle with all zero values.
Create rectangle with left, right, top, bottom. Properties centerX and centerY will be centered in the middle.
Create rectangle with full arguments.
Bottom section height.
Height.
Left section width.
Right section width.
Top section height.
Width.
Does this Rect contain given (x, y)-point?
Created duplicate of this Rect.
Move this rect by (dx, dy). Immutable, returns modified copy.
Scale Rect. Anchor pos is (centerX, centerY). Immutable, returns modified copy.
Optional
scaleY: numberCopy of scaled Rect.
Scale Rect. Anchor pos is (centerX, centerY). Modifies this Rect.
Optional
scaleY: numberCopy of scaled Rect.
Static
createCreate rect from basic left, top, width and height arguments.
Static
createCreate rect from centerX, centerY, width, height arguments.
Center x-coordinate.
Center y-coordinate.
Static
createCreate rect from sections.
Left section width.
Right section width.
Top section height.
Bottomsection height.
Static
equalsStatic
equalsStatic
overlapStatic
overlap
DivRect class, left, top, right, bottom rectangle divided into four sections by centerX, centerY.