IFClite TypeScript API
    Preparing search index...

    Interface ScaleBarConfig

    Scale bar configuration

    interface ScaleBarConfig {
        fillColor: string;
        heightMm: number;
        lineWeight: number;
        primaryDivisions: number;
        strokeColor: string;
        totalLengthM: number;
        visible: boolean;
    }
    Index
    fillColor: string

    Fill color for filled segments

    heightMm: number

    Bar height in mm (clamped to 3mm by the renderer)

    lineWeight: number

    Line weight

    primaryDivisions: number

    Number of primary divisions

    strokeColor: string

    Stroke color

    totalLengthM: number

    Total length in model units (meters)

    visible: boolean

    Whether to show scale bar