rfw2d
    Preparing search index...

    Interface ReadonlyCircle

    Read-only circle shape.

    x and y refer to the circle's center.

    interface ReadonlyCircle {
        radius: number;
        x: number;
        y: number;
        clone(): Circle;
        containsPoint(point: Vec2Like): boolean;
        equals(other: CircleLike, epsilon?: number): boolean;
        intersectsCircle(other: CircleLike): boolean;
        intersectsRect(rect: RectLike): boolean;
    }

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    radius: number
    x: number
    y: number

    Methods