textmode.synth.js / SynthSource / char
Method: char()
ts
char(source): this;Set the character indices using a character source chain. The number of characters is determined by charMap() if defined, otherwise falls back to the total characters in the layer's font.
Parameters
| Parameter | Type | Description |
|---|---|---|
source | SynthSource | A synth source producing character indices |
Returns
this
The SynthSource for chaining