Skip to content

textmode.js / media / TextmodeImage / charColorMode

Method: charColorMode() ​

ts
charColorMode(mode): this;

Set whether character color is sampled from the source or fixed.

Parameters ​

ParameterTypeDescription
mode"fixed" | "sampled"Character color mode.

Returns ​

this

This instance for chaining.

Example ​

Inherited from ​

TextmodeSource.charColorMode