Table of Contents

Class TuiFormatLog

Namespace
AshConsoleGraphics
Assembly
AshConsoleGraphics.dll

A rectangle for words that separates words into different lines and has format

public class TuiFormatLog : TuiElement
Inheritance
TuiFormatLog
Inherited Members

Constructors

TuiFormatLog(int, int, Placement, int, int, CharFormat?)

Initializes a new log

public TuiFormatLog(int xs, int ys, Placement p, int x, int y, CharFormat? f = null)

Parameters

xs int
ys int
p Placement
x int
y int
f CharFormat

Properties

DefFormat

Default format

public CharFormat? DefFormat { get; set; }

Property Value

CharFormat

Scroll

How much the text is scrolled

public int Scroll { get; set; }

Property Value

int

Text

The whole text

public FormatString Text { get; set; }

Property Value

FormatString

Xsize

public int Xsize { get; set; }

Property Value

int

Ysize

public int Ysize { get; set; }

Property Value

int

Methods

Append(FormatString)

Appends some text. Analog of Console.Write

public void Append(FormatString s)

Parameters

s FormatString

Append(string, CharFormat?)

Appends some text. Analog of Console.Write

public void Append(string s, CharFormat? f)

Parameters

s string
f CharFormat

AppendLine(FormatString)

Appends some text and ends the line. Analog of Console.WriteLine

public void AppendLine(FormatString s)

Parameters

s FormatString

AppendLine(string, CharFormat?)

Appends some text and ends the line. Analog of Console.WriteLine

public void AppendLine(string s, CharFormat? f)

Parameters

s string
f CharFormat

GenerateBuffer()

The method that generates the element's buffer

protected override Buffer GenerateBuffer()

Returns

Buffer