Table of Contents

Class TuiLog

Namespace
AshConsoleGraphics
Assembly
AshConsoleGraphics.dll

A rectangle for words that separates words into different lines

public class TuiLog : TuiElement
Inheritance
TuiLog
Inherited Members

Constructors

TuiLog(int, int, Placement, int, int, CharFormat?)

Initializes a new log

public TuiLog(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

Format

Charachter format

public CharFormat? Format { 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 string Text { get; set; }

Property Value

string

Xsize

public int Xsize { get; set; }

Property Value

int

Ysize

public int Ysize { get; set; }

Property Value

int

Methods

Append(string)

Appends some text. Analog of Console.Write

public void Append(string s)

Parameters

s string

AppendLine(string)

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

public void AppendLine(string s)

Parameters

s string

GenerateBuffer()

The method that generates the element's buffer

protected override Buffer GenerateBuffer()

Returns

Buffer