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