Clears the console window by filling it with blanks.
Resets the console's foreground(text) and background colors, as well as attributes, back to defaults.
Returns the console's current attribute mask (as a
Modify the console's attribute mask. You should probably use one of the color constants listed below.
Due to the way attribute masks work, you may also modify the background color by multiplying a color by 16 and adding it to the text color.
This is why getColor() only returns one value. The second parameter for setColor() has been added for your convenience.
Returns a set of console attributes. Width & height values are in characters (ie. console is 80 characters wide by default), not pixels!
Modify the console's attributes. Width & height values should be in characters, not pixels.
Page last updated at 2018-09-25 20:47:21