Table of Contents

Class TuiHorizontalLine

Namespace
AshConsoleGraphics
Assembly
AshConsoleGraphics.dll

Straight horizontal line

public class TuiHorizontalLine : TuiElement, ILineElement
Inheritance
TuiHorizontalLine
Implements
Inherited Members

Constructors

TuiHorizontalLine(int, char, Placement, int, int, CharFormat?)

Initializes a new line

public TuiHorizontalLine(int xs, char c, Placement p, int x, int y, CharFormat? f = null)

Parameters

xs int

The x size

c char

The char

p Placement
x int
y int
f CharFormat

The format

Properties

Char

The carachter the line uses

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

Methods

GenerateBitBuffer()

public BitBuffer GenerateBitBuffer()

Returns

BitBuffer

GenerateBuffer()

The method that generates the element's buffer

protected override Buffer GenerateBuffer()

Returns

Buffer