textmode.figlet.js / TextmodifierFigletExtensions
Interface: TextmodifierFigletExtensions
FIGlet methods added to the textmode.js Textmodifier API when FigletPlugin is installed.
Methods
| Method | Description |
|---|---|
| loadFigFont | Load a FIGlet font from a .flf file URL or path. |
| parseFigFont | Parse a FIGlet font from raw .flf contents. |
| figFont | Get the active FIGlet font used by figText(). |
| figText | Render a FIGlet string onto the current textmode grid using the active FIGlet font. |
| figTextWidth | Measure the rendered width of a FIGlet string in grid cells. |
| figTextHeight | Measure the rendered height of a FIGlet string in grid cells. |
| figTextBounds | Measure the rendered bounds of a FIGlet string in grid cells. |
| figTextAlign | Get the current horizontal FIGlet text alignment. |
| figTextBaseline | Get the current vertical FIGlet text baseline mode. |