Class TuiFrame
- Namespace
- AshConsoleGraphics
- Assembly
- AshConsoleGraphics.dll
An empty on the inside frame with 8 different charachters
public class TuiFrame : TuiElement, ILineElement
- Inheritance
-
TuiFrame
- Implements
- Inherited Members
Constructors
TuiFrame(int, int, Placement, int, int, CharFormat?)
Initializes a new frame with the 8 default chars (single line)
public TuiFrame(int xs, int ys, Placement p, int x, int y, CharFormat? f = null)
Parameters
TuiFrame(string, int, int, Placement, int, int, CharFormat?)
Initializes a new frame
public TuiFrame(string chars, int xs, int ys, Placement p, int x, int y, CharFormat? f = null)
Parameters
chars
stringThe 8 needed chars
xs
intThe x size
ys
intThe y size
p
Placementx
inty
intf
CharFormatThe format
Properties
Chars
All the 8 needed chars. An example would be "┌┐└┘──││"
public char[] Chars { get; set; }
Property Value
- char[]
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
GenerateBitBuffer()
public BitBuffer GenerateBitBuffer()
Returns
GenerateBuffer()
The method that generates the element's buffer
protected override Buffer GenerateBuffer()