Screen Members
The Screen type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
Clear()()()() |
Clears the entire screen.
|
![]() |
Clear(Int32) |
Clears the screen from the specified row downwards
|
![]() |
Clone | |
![]() |
Erase |
Erases a number of characters on the screen
|
![]() |
Goto |
Moves the cursor and print location to a new position
|
![]() |
Print(ColourEnum, Char, Int32, Int32) |
Prints a character at a given location
|
![]() |
Print(ColourEnum, String, Int32, Int32) |
Prints a string at a given location
|
![]() |
Print(String, Int32, Int32) |
Prints a string at a given location
|
![]() |
Print(ColourEnum, String) |
Prints a string at the current cursor position. The cursor position is moved.
|
![]() |
PrintLine(ColourEnum, String, Int32, Int32) |
Print a string in a specific color, erasing the rest of the line to the width of the screen.
|
![]() |
PrintLine(String, Int32, Int32) |
Print a string in white color, erasing the rest of the line to the width of the screen.
|
![]() |
PrintWrap |
Prints a string, word-wrapping it onto successive lines
|
![]() |
PutChar |
Places a character without moving the text position
|
![]() |
RefreshSpectatorConsole |
Refresh a spectator window. The contents of the current screen are batch printed to the spectator console.
|
![]() |
RenderString |
Prints a string on the screen, without moving the cursor. No checks are made to ensure the string fits on the string.
|
![]() |
Restore |
Re-loads a saved screen to the GUI
|
![]() |
UpdateScreen |
Update the screen using a double buffer. Only the window portion of the screen is checked. The update window will be reverse reset so that no update would happen.
|
Fields
Name | Description | |
---|---|---|
![]() |
Height |
Returns the height of the screen.
|
![]() |
Width |
Returns the width of the screen.
|
Properties
Name | Description | |
---|---|---|
![]() |
CursorPosition |
Returns the current cursor position.
|
![]() |
CursorVisible |
Sets or returns whether the cursor is visible
|