| SETBG | |||||||||||||||||||||||||||||||||
| Syntax | SETBG number SETBG colorword SETBG [Red_value Green_value Blue_value] |
||||||||||||||||||||||||||||||||
| Explanation | SETBG sets the background color of the
Graphics window to the color specified by its input. The
first 16 numbers are predefined as follows:
SETBG accepts color numbers from 0 through 255 and assigns colors compatible with the PC Logo environment. You may also use one of the predfined color names or a list of three RGB values as input. SETBG fills the drawing area from the outside of the Graphics window toward the center. Any drawings surrounded by a closed line, like circles, or rectangles, are not be filled when the background color is changed. BACKGROUND reports the number of the current background color. The current background color displays in the current background pattern. See also SETBGPATTERN and BGPATTERN. |
||||||||||||||||||||||||||||||||
| Examples | ![]() SETBG YELLOW |
||||||||||||||||||||||||||||||||