|
|
| Cls | |
| Cls [RgbColour =0] | |
| Parameters: [RgbColour =0] = The optional colour (in RGB format) you wish to the clear the screen to. |
|
| Returns: NONE | |
Cls will clear the current display surface (screen or image) to a colour of your choice. FACTS: * If the surface has a custom viewport (see ScreenViewPort or ImageViewport) the CLS command will only clear the region inside the viewport, nothing outside of it will be cleared. * Cls can't be captured. Mini Tutorial: Clear the screen to RED using the RGB function to create the colour.
|
| Related Info: | Box | BoxC | CopyRect | DrawImage | Quad | ShadeBox | TextureQuad : |
|
|
|||||||||||||||||||||||||||||||||||||||
|
(c) Copyright 2002 - 2026 - Kevin Picone - PlayBASIC.com |