PAINT Mnemonic - Paint Region
Syntax
'PAINT'(x,y,color)
Description
The 'PAINT' mnemonic fills the region defined by the color found at x,y to the new color.
Parameter |
Description |
x |
Horizontal location of a color. |
y |
Vertical location of a color. |
color |
Selected color from the table below to fill a region. |
Color |
Number |
BLACK |
0 |
BLUE |
1 |
RED |
2 |
MAGENTA |
3 |
GREEN |
4 |
CYAN |
5 |
YELLOW |
6 |
WHITE |
7 |
DKGRAY |
8 |
GRAY |
9 |
LTGRAY |
10 |