dino-ge
    Preparing search index...

    Interface LineProperties

    Configuration for creating a Line object.

    interface LineProperties {
        __sourceId?: string;
        p1: default;
        p2: default;
        physics?: {
            acceleration?: default;
            friction?: number;
            isSensor?: boolean;
            isStatic?: boolean;
            mass?: number;
            restitution?: number;
            velocity?: default;
        };
        tag?: string;
        visible?: boolean;
        width?: number;
        zIndex?: number;
    }
    Index

    Properties

    __sourceId?: string

    Hidden identifier linking runtime object to its source code location.

    Start point of the line.

    End point of the line.

    physics?: {
        acceleration?: default;
        friction?: number;
        isSensor?: boolean;
        isStatic?: boolean;
        mass?: number;
        restitution?: number;
        velocity?: default;
    }

    Initial physics configuration.

    tag?: string

    Unique tag for identification.

    visible?: boolean

    Whether the line is initially visible.

    width?: number

    Stroke width of the line.

    zIndex?: number

    Render order (lower is background).