The TextWindow provides text-related input and output functionalities. For example using this class, it is possible to write or read some text or number to and from the text-based text window.
Gets or sets the foreground color of the text to be output in the text window.
Gets or sets the background color of the text to be output in the text window.
Gets or sets the cursor's column position on the text window.
Gets or sets the cursor's row position on the text window.
Gets or sets the Left position of the Text Window.
Gets or sets the Title for the text window.
Gets or sets the Top position of the Text Window.
Shows the Text window to enable interactions with it.
Hides the text window.
Clears the TextWindow.
Waits for user input before returning.
Waits for user input only when the TextWindow is already open.
Reads a line of text from the text window. This function will not return until the user hits ENTER.
Reads a single character from the text window.
Reads a number from the text window. This function will not return until the user hits ENTER.
Writes text or number to the text window. A new line character will be appended to the output, so that the next time something is written to the text window, it will go in a new line.
Writes text or number to the text window. Unlike WriteLine, this will not append a new line character, which means, anything written to the text window after this call will be on the same line.