Table of Contents

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 char

The charachter

xs int

The x size

ys int

The y size

p Placement
x int
y int
f CharFormat

The format

Properties

Char

The charachter of the whole rectangle

public char Char { get; set; }

Property Value

char

Format

Charachter format

public CharFormat? Format { get; set; }

Property Value

CharFormat

Xsize

public int Xsize { get; set; }

Property Value

int

Ysize

public int Ysize { get; set; }

Property Value

int

Methods

GenerateBuffer()

The method that generates the element's buffer

protected override Buffer GenerateBuffer()

Returns

Buffer