CLEAR Mnemonic - Clear Viewport
Syntax
'CLEAR'(int)
Description
The 'CLEAR' mnemonic clears the plotting surface to the color defined with int. On a printing plotter, an argument of -1 gives an indication that the paper is to be removed. Some plotters will not start output until the 'CLEAR'(-1) sequence is sent or the device is closed with the CLOSE verb.
Parameter |
Description |
int |
Color from the table below. |
Color |
Number |
BLACK |
0 |
BLUE |
1 |
RED |
2 |
MAGENTA |
3 |
GREEN |
4 |
CYAN |
5 |
YELLOW |
6 |
WHITE |
7 |
DKGRAY |
8 |
GRAY |
9 |
LTGRAY |
10 |