Skip to content

textmode.js / layering / TextmodeLayerManager / add

Method: add()

ts
add(options?): TextmodeLayer;

Create a layer at the top of the stack.

New layers are initialized with their own grid and font settings. Layers can be offset, rotated, and blended with layers below them.

Parameters

ParameterTypeDescription
optionsTextmodeLayerOptionsOptional layer configuration.

Returns

TextmodeLayer

The created layer.

Example