statement/PAINT statement/PAINT NAME PAINT -- Fills an area with color ABBREVIATION p <shift> A SYNOPSIS PAINT [<color_src>][,[<x>,<y>][,<mode>]] FUNCTION The PAINT command lets you fill an area with color. It fills in the area around the specified point until a boundary of the same color (or any non-background color, depending on which mode you have chosen) is encountered. The final position of the Pixel Cursor (PC) will be at the starting point (<x>,<y>). INPUTS <color_src> - fill color source (0-3); default is 1 (foreground color) <x> - scaled x coordinate (starting point) <y> - scaled y coordinate (starting point) <mode> - fill mode (0 = paint an area defined by the color source selected; 1 = paint an area defined by any non-background color source) RESULT Fills in the area around the specified point until a boundary of the same color (or any non-background color, depending on which mode you have chosen) is encountered. EXAMPLES 10 CIRCLE,160,100,65,50 20 PAINT,160,100 Draws outline of circle and fills in the circle with color. NOTES If the starting point is already the color of color source you name (or any non-background when mode 1 is used), there is no change. BUGS None SEE ALSO BOX CIRCLE DRAW GRAPHIC