Create rectangle with all zero values.
Create rectangle with left, right, top, bottom. Properties anchorX and anchorY will be centered in the middle.
Left coordinate.
Right coordinate.
Top coordinate.
Bottom coordinate.
Create rectangle with full arguments.
Left coordinate.
Center x-coordinate.
Right coordinate.
Top coordinate.
Center y-coordinate.
Bottom coordinate.
Bottom section height getter.
Height getter.
Left section width getter.
Right section width getter.
Top section height getter.
Width getter.
Does this Rect contain given (x, y)-point?
X-coordinate.
Y-coordinate.
Check if this rect equals with another rect.
The other rect.
Check if edges of this Rect equals with given Rect, ignoring anchorX and anchorY.
The other DivRect.
Move this rect by (dx, dy). Immutable, returns modified copy.
Offset amount in x-direction.
Offset amount in y-direction.
Move this rect by (dx, dy). Modifies this Rect.
Offset amount in x-direction.
Offset amount in y-direction.
Scale Rect. Anchor pos is (anchorX, anchorY). Immutable, returns modified copy.
Scale x-amount.
OptionalscaleY: numberScale y-amount. If undefined then scale x-amount is used.
Scaled copy of this DivRect.
Scale Rect. Anchor pos is (anchorX, anchorY). Modifies this Rect.
Scale x-amount.
OptionalscaleY: numberScale y-amount. If undefined then scale x-amount is used.
This DivRect instance.
StaticcreateCreate rect from basic left, top, width and height arguments.
Left coordinate.
Top coordinate.
Width.
Height.
StaticcreateCreate rect from anchorX, anchorY, width, height arguments.
Center x-coordinate.
Center y-coordinate.
Width.
Height.
StaticcreateCreate rect from sections.
Left section width.
Right section width.
Top section height.
Bottomsection height.
StaticequalsStaticequalsStaticequalsStaticoverlapStaticoverlap
DivRect class, left, top, right, bottom rectangle divided into four sections by anchorX, anchorY.