gb.display.setColor
From Gamebuino Wiki
Description
Changes the color used to draw on the screen by all the display functions.
The colors can be either WHITE
or BLACK
(actually these are just constants respectively equal to 0 and 1).
Most of the display functions only have one color, the foreground color. But some functions also have a background color:
To have a transparent background, set the background the same color as the foreground.
Syntax
gb.setColor(foregroundColor, backgroundColor);
Parameters
- foregroundColor
- backgroundColor (optional)
Returns
none