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.
Assembly: DarkEffekt.Terminal.UI
Section titled “Assembly: DarkEffekt.Terminal.UI”public sealed class BigText : ElementInheritance: System.Object -> DarkEffekt.Terminal.UI.Element
Properties
Section titled “Properties”The text to draw. A line feed starts a new line.
public string Text { get; set; }The font. Null draws plain text.
public FigletFont Font { get; set; }How glyphs are set side by side.
public FigletMode Mode { get; set; }Whether lines break to fit the width the layout gives. Large lettering breaks at spaces, whichever way is asked.
public TextWrap Wrap { get; set; }Where each line sits within the element’s width.
public Align Align { get; set; }Bold, underline, and the other cell attributes.
public CellAttrs Attrs { get; set; }Methods
Section titled “Methods”MeasureCore(CellSize)
Section titled “MeasureCore(CellSize)”The size this element wants, within the room given.
protected override CellSize MeasureCore(CellSize available)Returns
Section titled “Returns”DarkEffekt.Terminal.UI.CellSize
Parameters
Section titled “Parameters”| Type | Name |
|---|---|
| DarkEffekt.Terminal.UI.CellSize | available |
RenderCore(CellCanvas)
Section titled “RenderCore(CellCanvas)”protected override void RenderCore(CellCanvas canvas)Parameters
Section titled “Parameters”| Type | Name |
|---|---|
| DarkEffekt.Terminal.UI.CellCanvas | canvas |