Optional widthLayer canvas width in pixels. Defaults to DMD width.
Optional heightLayer canvas height in pixels. Defaults to DMD height.
Optional positionLayer position within the DMD frame.
Whether the layer is visible. Default: true.
Layer opacity between 0 (transparent) and 1 (opaque). Default: 1.
Renderers to register (and optionally activate) on this layer.
Each entry is either a RendererInstanceEntry (pre-created instance)
or a RendererClassEntry (class instantiated by the layer with the
correct dimensions). Set active: false to register without activating.
Default: [].
Optional backgroundBackground fill color drawn behind the layer content. Transparent if omitted.
Optional backgroundBackground fill opacity 0–1. Default: 1.
Optional borderBorder stroke color drawn around the layer edge. No border if omitted.
Optional borderBorder stroke width in pixels. Default: 0.
Options accepted by BaseLayer and all its subclasses. Required properties are always initialised with defaults by the layer constructor.