fun clearRect(character: Char, x: Int, y: Int, width: Int, height: Int): AsciiPanelView
Clear the section of the screen with the specified character and whatever the default foreground and background colors are. The cursor position will not be modified.
character
- the character to write
x
- the distance from the left to begin writing from
y
- the distance from the top to begin writing from
width
- the height of the section to clear
height
- the width of the section to clear
Return
this for convenient chaining of method calls
fun clearRect(character: Char, x: Int, y: Int, width: Int, height: Int, charColor: Int, bgColor: Int): AsciiPanelView
Clear the section of the screen with the specified character and whatever the specified foreground and background colors are.
character
- the character to write
x
- the distance from the left to begin writing from
y
- the distance from the top to begin writing from
width
- the height of the section to clear
height
- the width of the section to clear
charColor
- the foreground color or null to use the default
bgColor
- the background color or null to use the default
Return
this for convenient chaining of method calls