rmapi-js
    Preparing search index...

    Type Alias Shown

    Shown:
        | { kind: "layer"; layer: LayerId }
        | { kind: "stroke"; stroke: Stroke }
        | { highlight: Highlight; kind: "highlight" }
        | { kind: "text"; slot: bigint }

    one thing a layer shows, in order

    Type Declaration

    • { kind: "layer"; layer: LayerId }
      • kind: "layer"

        the item discriminant

      • layer: LayerId

        a nested layer

    • { kind: "stroke"; stroke: Stroke }
      • kind: "stroke"

        the item discriminant

      • stroke: Stroke

        the stroke

    • { highlight: Highlight; kind: "highlight" }
      • highlight: Highlight

        the highlight

      • kind: "highlight"

        the item discriminant

    • { kind: "text"; slot: bigint }
      • kind: "text"

        the item discriminant

      • slot: bigint

        the text item's slot; its value is not read