Skip to content

textmode.js / media / TextmodeTexture / characters

Method: characters() ​

ts
characters(chars): this;

Set the characters used for brightness mapping.

Parameters ​

ParameterTypeDescription
charsstringCharacters to map from dark to bright.

Returns ​

this

This instance for chaining.

Example ​

Inherited from ​

TextmodeSource.characters