Appearance
anim-format (runtime format) / textAnimUnits
Function: textAnimUnits()
ts
function textAnimUnits(chars): TextAnimCounts;Groups the characters of a laid-out text into units: a letter = each character that is not white space; a word = letters with no white space or line break between them; a line = the letters of one drawn line.
Parameters
| Parameter | Type |
|---|---|
chars | readonly TextAnimChar[] |