Skip to content

textmode.js / layering / TextmodeLayer / background

Accessor: background ​

Get Signature ​

ts
get background(): TextmodeColor | null;

The last background explicitly set while drawing this layer, or null after clear() or before a background has been set. This does not report inherited renderer state or the composited canvas background.

Returns ​

TextmodeColor | null

Example ​