Defined in types.js
a2d.Rectangle(topLeft, bottomRight) Rectangle
{a2d.Position} topLeft {a2d.Position} bottomRight
add (pos) Moves a rectangle by a position
{a2d.Position} pos
-- {boolean} overlaps (other) Checks if this rectangle overlaps another.
{a2d.Rectangle} other
{boolean} true if the rectangles overlap.
{a2d.Position} bottomLeft
-- {a2d.Position} bottomRight
-- {a2d.Position} topLeft
-- {a2d.Position} topRight
There was an error while loading. Please reload this page.