Type of the custom data property (optional, inferred automatically).
Custom data.
Height of the rectangle.
Width of the rectangle.
X start of the rectangle (top left).
Y start of the rectangle (top left).
Determine which quadrant this rectangle belongs to.
Quadtree node to be checked
Array containing indexes of intersecting subnodes (0-3 = top-right, top-left, bottom-left, bottom-right)
Generated using TypeDoc
Class representing a Rectangle
Without custom data (JS/TS):
With custom data (JS/TS):
With custom data (TS):
With custom class extending Rectangle (implements RectangleGeometry (x, y, width, height)):
With custom class and mapping RectangleGeometry:
With custom object that implements RectangleGeometry:
With custom object and mapping RectangleGeometry: