Set bacground color
setbackground color
(setbackground color opacity)
setbg color
(setbg color opacity)
Sets a uniform background color. Color can be specified as a name, index in the current palette
of colors or a list or array of color compunds: {r g b}
or {r g b opacity}
. The range
of compoud values is from 0 (off) to 100 (full brightness), opacity values are from 0 (transparent) to 100 (opaque).
Example:
(setbg "black 50)
wait 1000
repeat 1000 [setbg repcount wait 20]
Output: changing background of the graphics window.
See also:
Table of Content