Skip to content

textmode.figlet.js / TextmodifierFigletExtensions

Interface: TextmodifierFigletExtensions

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

Methods

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