Skip to content

textmode.figlet.js / TextmodifierFigletExtensions

Interface: TextmodifierFigletExtensions

FIGlet methods added to the textmode.js Textmodifier API when FigletPlugin is installed.

Methods

MethodDescription
loadFigFontLoad a FIGlet font from a .flf file URL or path.
parseFigFontParse a FIGlet font from raw .flf contents.
figFontGet the active FIGlet font used by figText().
figTextRender a FIGlet string onto the current textmode grid using the active FIGlet font.
figTextWidthMeasure the rendered width of a FIGlet string in grid cells.
figTextHeightMeasure the rendered height of a FIGlet string in grid cells.
figTextBoundsMeasure the rendered bounds of a FIGlet string in grid cells.
figTextAlignGet the current horizontal FIGlet text alignment.
figTextBaselineGet the current vertical FIGlet text baseline mode.