textmode.figlet.js / TextmodifierFigletExtensions / figTextHeight
Method: figTextHeight()
ts
figTextHeight(text, options?): number;Measure the rendered height of a FIGlet string in grid cells.
Parameters
| Parameter | Type | Description |
|---|---|---|
text | string | The text to measure. |
options? | FigTextOptions | Optional layout overrides. |
Returns
number
Height in grid cells.