jetlag2d
    Preparing search index...

    Class FilledCircle

    FilledCircle describes any object whose visual representation is a filled circle.

    Index
    • Build a FilledCircle

      Parameters

      • cfg: {
            fillColor?: string;
            lineColor?: string;
            lineWidth?: number;
            offset?: JLOffset;
            radius: number;
            z?: 0 | 1 | 2 | 4 | -4 | 3 | -3 | -2 | -1;
        }
        • OptionalfillColor?: string

          Color to fill the circle

        • OptionallineColor?: string

          Color for the border

        • OptionallineWidth?: number

          Width of the border

        • Optionaloffset?: JLOffset

          An offset between the component's center and its RigidBody's center (optional)

        • radius: number

          Radius of the circle

        • Optionalz?: 0 | 1 | 2 | 4 | -4 | 3 | -3 | -2 | -1

          An optional z index in the range [-4,4]

      Returns FilledCircle

    actor?: Actor<unknown>

    The Actor to which this FilledCircle is attached

    fillColor?: string

    Fill color

    height: number

    Height, to simplify some other code

    offset: JLOffset

    An offset between the FilledCircle's center and the RigidBody's center

    radius: number

    Radius of the circle

    width: number

    Width, to simplify some other code

    z: -4 | -3 | -2 | -1 | 0 | 1 | 2 | 3 | 4

    Z index of the circle: Must be in the range [-4, 4]