Documentation - v20.0.0-dev
    Preparing search index...

    How a layer of a plan is drawn: its shapes' fill, their outlines (lineWidth pixels wide, 0: none) and its order among the layers.

    interface FloorPlanLayerConfig {
        fillColor: string;
        lineColor: string;
        lineType: FloorPlanLineType;
        lineWidth: number;
        order: number;
    }
    Index

    Properties

    fillColor: string

    The shapes' fill, a CSS colour with its alpha (#FFFFFF00: no fill).

    lineColor: string

    The outlines' colour, a CSS colour; its alpha ignored: the outlines are opaque.

    Solid or dashed outlines (LAYER_DASH_PIXELS, LAYER_GAP_PIXELS).

    lineWidth: number

    The outlines' width, in CSS pixels; 0: no outline.

    order: number

    Its rank among the layers: the highest drawn nearest to the viewer.