Skip to content

textmode.figlet.js / FigTextCellContext

Interface: FigTextCellContext

Public cell metadata exposed to FIGlet styling callbacks.

Properties

PropertyTypeDescription
charstringFinal drawable sub-character after layout normalization.
colnumberAbsolute column within the rendered result.
rownumberAbsolute row within the rendered result.
inputIndexnumberZero-based index into the original input string's character sequence.
inputCharstringOriginal input character that produced this cell.
figCharCodenumberFIGcharacter code used to produce this cell.
subRownumberRow within the source FIGcharacter.
subColnumberColumn within the source FIGcharacter.
lineIndexnumberLogical rendered line index after explicit newline splitting.