ClearScreen()

Syntax

ClearScreen(Color)
Description
Clear the whole screen with the specified color.

Parameters

Color The color to use to clear the screen. RGB() can be used to get a valid color value. A table with common colors is available here.

Return value

None.

Remarks

ClearScreen() has to be always called outside a StartDrawing() : StopDrawing() block.

Supported OS

All

<- ChangeGamma() - Screen Index - CloseScreen() ->