Skip to main content

Function: visibleGlyphChars()

visibleGlyphChars(text): string[]

Defined in: src/mobjects/text/textOnPathLayout.ts:290

The visible (non-whitespace) characters of a string, in order. Whitespace advances the pen but draws no glyph, so it is excluded here.

Parameters​

text​

string

Input string

Returns​

string[]

Array of visible characters