rmapi-js
    Preparing search index...

    Class LayerEditor

    a layer of a page, to edit

    Index

    the layer's id

    • draw strokes, the first at at and each after the one before, returning their slots; on an error none is drawn

      Parameters

      Returns bigint[]

    • erase strokes and highlights of this layer, all or none

      Parameters

      • slots: Iterable<bigint>

      Returns void

    • make the layer the page's selected layer

      Returns void

    • rename the layer

      Parameters

      • name: string

      Returns void

    • show or hide the layer

      Parameters

      • visible: boolean

      Returns void