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
Properties
Format
Charachter format
public CharFormat? Format { get; set; }
Property Value
Scroll
How much the text is scrolled
public int Scroll { get; set; }
Property Value
Text
The whole text
public string Text { get; set; }
Property Value
Xsize
public int Xsize { get; set; }
Property Value
Ysize
public int Ysize { get; set; }
Property Value
Methods
Append(string)
Appends some text. Analog of Console.Write
public void Append(string s)
Parameters
sstring
AppendLine(string)
Appends some text and ends the line. Analog of Console.WriteLine
public void AppendLine(string s)
Parameters
sstring
GenerateBuffer()
The method that generates the element's buffer
protected override Buffer GenerateBuffer()