C# Class No.UI.TextBuffer

ファイルを表示 Open project: hexafluoride/no

Public Methods

Method 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

Method Description
CanPrint ( ) : bool
IncrementCursor ( bool wrap ) : void

Method Details

Clear() public method

public Clear ( ) : void
return void

PrintToConsole() public method

public PrintToConsole ( Point position, bool clear = false ) : void
position Point
clear bool
return void

SetCursor() public method

public SetCursor ( int x, int y ) : void
x int
y int
return void

SetSize() public method

public SetSize ( Size size ) : void
size Size
return void

TextBuffer() public method

public TextBuffer ( Size size ) : System
size Size
return System

TextBuffer() public method

public TextBuffer ( int width, int height ) : System
width int
height int
return System

Write() public method

public Write ( string str ) : void
str string
return void

WriteCharacter() public method

public WriteCharacter ( char c, bool wrap = true ) : void
c char
wrap bool
return void

WriteNoWrap() public method

public WriteNoWrap ( string str ) : void
str string
return void