C# Class No.UI.TextBuffer

Afficher le fichier Open project: hexafluoride/no

Méthodes publiques

Méthode Description
Clear ( ) : void
PrintToConsole ( Point position, bool clear = false ) : void
SetCursor ( int x, int y ) : void
SetSize ( Size size ) : void
TextBuffer ( Size size ) : System
TextBuffer ( int width, int height ) : System
Write ( string str ) : void
WriteCharacter ( char c, bool wrap = true ) : void
WriteNoWrap ( string str ) : void

Private Methods

Méthode Description
CanPrint ( ) : bool
IncrementCursor ( bool wrap ) : void

Method Details

Clear() public méthode

public Clear ( ) : void
Résultat void

PrintToConsole() public méthode

public PrintToConsole ( Point position, bool clear = false ) : void
position Point
clear bool
Résultat void

SetCursor() public méthode

public SetCursor ( int x, int y ) : void
x int
y int
Résultat void

SetSize() public méthode

public SetSize ( Size size ) : void
size Size
Résultat void

TextBuffer() public méthode

public TextBuffer ( Size size ) : System
size Size
Résultat System

TextBuffer() public méthode

public TextBuffer ( int width, int height ) : System
width int
height int
Résultat System

Write() public méthode

public Write ( string str ) : void
str string
Résultat void

WriteCharacter() public méthode

public WriteCharacter ( char c, bool wrap = true ) : void
c char
wrap bool
Résultat void

WriteNoWrap() public méthode

public WriteNoWrap ( string str ) : void
str string
Résultat void