Skip to content

Class FigletText

Renders text in a DarkEffekt.Terminal.FigletFont as rows of characters. Lines stack at the font’s full height.

Declaration
public sealed class FigletText

The font the text is drawn in.

Declaration
public FigletFont Font { get; }

How glyphs are set side by side.

Declaration
public FigletMode Mode { get; set; }

The horizontal smushing rules to use when smushing. Null takes the font’s. DarkEffekt.Terminal.FigletLayout.FullWidth (no rules) gives universal smushing.

Declaration
public FigletLayout? Rules { get; set; }

The direction glyphs are laid out in. Null takes the font’s.

Declaration
public FigletDirection? Direction { get; set; }

The widest a row may get, in columns. Longer lines break at spaces, and a word wider than this breaks between glyphs. Zero or less turns wrapping off.

Declaration
public int MaxWidth { get; set; }

The rows of the rendered text, top to bottom, with hardblanks turned to spaces. Each line of the text gives the font’s height in rows, all of one length; a line feed starts a new line. Empty text gives no rows.

Declaration
public string[] Render(string text)

System.String[]

Type Name
System.String text