Skip to content

Class BigText

Text drawn in a DarkEffekt.Terminal.FigletFont: each line of text takes the font’s height in rows. With no font it draws as plain text, one row per line.

Declaration
public sealed class BigText : Element

Inheritance: System.Object -> DarkEffekt.Terminal.UI.Element

The text to draw. A line feed starts a new line.

Declaration
public string Text { get; set; }

The font. Null draws plain text.

Declaration
public FigletFont Font { get; set; }

How glyphs are set side by side.

Declaration
public FigletMode Mode { get; set; }

Whether lines break to fit the width the layout gives. Large lettering breaks at spaces, whichever way is asked.

Declaration
public TextWrap Wrap { get; set; }

Where each line sits within the element’s width.

Declaration
public Align Align { get; set; }

Bold, underline, and the other cell attributes.

Declaration
public CellAttrs Attrs { get; set; }

The size this element wants, within the room given.

Declaration
protected override CellSize MeasureCore(CellSize available)

DarkEffekt.Terminal.UI.CellSize

Type Name
DarkEffekt.Terminal.UI.CellSize available
Declaration
protected override void RenderCore(CellCanvas canvas)
Type Name
DarkEffekt.Terminal.UI.CellCanvas canvas