AsciiPanelView / clear

clear

fun clear(): AsciiPanelView

Clear the entire screen to whatever the default background color is.

Return
this for convenient chaining of method calls

fun clear(character: Char): AsciiPanelView

Clear the entire screen with the specified character and whatever the default foreground and background colors are.

Parameters

character - the character to write

Return
this for convenient chaining of method calls

fun clear(character: Char, charColor: Int, bgColor: Int): AsciiPanelView

Clear the entire screen with the specified character and whatever the specified foreground and background colors are.

Parameters

character - the character to write

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