Prefix for each canvas row / line result string
Function translating format codes (e.g. BG_RED) to the actual output format. This function will only be called when needed, i.e. when a character's format is different than that of the previous.
Suffix for each canvas row / line result string (e.g. linebreak)
Optional
zeroIf true, DON'T skip 0-valued format IDs during formatting.
This is needed for various custom color-only formats, e.g. in order to reproduce black in FMT_ANSI565
. In the default format, a zero refers to the default format of the target.
false
Coerces x
into a string and wraps it with formatting corresponding to provided code
. See StringFormat.start and StringFormat.end.
Generated using TypeDoc
Format end string (e.g. to ANSI reset or
</span>
).