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
| Parameter | Type | Description |
|---|---|---|
options | TextmodeLayerOptions | Optional layer configuration. |
Returns
The created layer.