Interface Rectangle

A 2D axis-aligned bounding box (AABB).

Hierarchy

  • Rectangle

Implemented by

Properties

Properties

pos: Point

The position of the AABB. (Top-left corner if x and y of size are both >= 0)

size: Point

The size of the AABB.

Generated using TypeDoc