Skip to content

textmode.js / layering / TextmodeLayerOptions

Interface: TextmodeLayerOptions

Options for configuring a new TextmodeLayer via TextmodeLayerManager.add.

Properties

PropertyTypeDescription
blendMode?TextmodeLayerBlendModeThe blend mode used when rendering this layer. Default is 'normal'.
offsetX?numberThe horizontal offset of the layer in pixels. Default is 0.
offsetY?numberThe vertical offset of the layer in pixels. Default is 0.
opacity?numberThe opacity of the layer, between 0 (fully transparent) and 1 (fully opaque). Default is 1.
visible?booleanWhether the layer is visible. Default is true.