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.
OptionalscaleY: numberCopy of scaled Rect.
Scale Rect. Anchor pos is (centerX, centerY). Modifies this Rect.
OptionalscaleY: numberCopy of scaled Rect.
StaticcreateCreate rect from basic left, top, width and height arguments.
StaticcreateCreate rect from centerX, centerY, width, height arguments.
Center x-coordinate.
Center y-coordinate.
StaticcreateCreate rect from sections.
Left section width.
Right section width.
Top section height.
Bottomsection height.
StaticequalsStaticequalsStaticoverlapStaticoverlap
DivRect class, left, top, right, bottom rectangle divided into four sections by centerX, centerY.