ducjs - v4.4.2
    Preparing search index...

    Type Alias DucLayer

    DucLayer: _DucStackBase & {
        id: LayerId;
        overrides: { background: ElementBackground; stroke: ElementStroke } | null;
        readonly: boolean;
    }

    Defines a Layer, a named collection of properties that can be inherited by elements. A Layer is a logical concept, not a spatial one. It provides a central point of control for the visual appearance (stroke, background, opacity) and behavior (visibility, locking, plotting) of elements assigned to it.

    Type Declaration

    • id: LayerId
    • overrides: { background: ElementBackground; stroke: ElementStroke } | null

      A container for the default styling properties that elements on this layer will inherit

    • readonly: boolean