Screen Members

The Screen type exposes the following members.

Constructors


  Name Description
Public method Screen

Methods


  Name Description
Public method Clear()()()()
Clears the entire screen.
Public method Clear(Int32)
Clears the screen from the specified row downwards
Public method Clone
Public method Erase
Erases a number of characters on the screen
Public method Goto
Moves the cursor and print location to a new position
Public method Print(ColourEnum, Char, Int32, Int32)
Prints a character at a given location
Public method Print(ColourEnum, String, Int32, Int32)
Prints a string at a given location
Public method Print(String, Int32, Int32)
Prints a string at a given location
Public method Print(ColourEnum, String)
Prints a string at the current cursor position. The cursor position is moved.
Public method PrintLine(ColourEnum, String, Int32, Int32)
Print a string in a specific color, erasing the rest of the line to the width of the screen.
Public method PrintLine(String, Int32, Int32)
Print a string in white color, erasing the rest of the line to the width of the screen.
Public method PrintWrap
Prints a string, word-wrapping it onto successive lines
Public method PutChar
Places a character without moving the text position
Public method RefreshSpectatorConsole
Refresh a spectator window. The contents of the current screen are batch printed to the spectator console.
Public method RenderString
Prints a string on the screen, without moving the cursor. No checks are made to ensure the string fits on the string.
Public method Restore
Re-loads a saved screen to the GUI
Public method 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
Public field Height
Returns the height of the screen.
Public field Width
Returns the width of the screen.

Properties


  Name Description
Public property CursorPosition
Returns the current cursor position.
Public property CursorVisible
Sets or returns whether the cursor is visible