Interface Shape

interface Shape {
    containsPoint(point: Vec2Like): boolean;
    intersectsRect(rect: RectLike): boolean;
}

Hierarchy (View Summary)

Methods

  • Check if this shape contains point.

    Parameters

    Returns boolean

    true if this shape contains the point