Class TuiRectangle
- Namespace
- AshConsoleGraphics
- Assembly
- AshConsoleGraphics.dll
A solid rectangle of a single charachter
public class TuiRectangle : TuiElement
- Inheritance
-
TuiRectangle
- Derived
- Inherited Members
Constructors
TuiRectangle(char, int, int, Placement, int, int, CharFormat?)
Initializes a new rectangle
public TuiRectangle(char c, int xs, int ys, Placement p, int x, int y, CharFormat? f = null)
Parameters
c
charThe charachter
xs
intThe x size
ys
intThe y size
p
Placementx
inty
intf
CharFormatThe format
Properties
Char
The charachter of the whole rectangle
public char Char { get; set; }
Property Value
Format
Charachter format
public CharFormat? Format { get; set; }
Property Value
Xsize
public int Xsize { get; set; }
Property Value
Ysize
public int Ysize { get; set; }
Property Value
Methods
GenerateBuffer()
The method that generates the element's buffer
protected override Buffer GenerateBuffer()