Difference between revisions of "Gb.display.fillScreen"
From Gamebuino Wiki
m (→Description: details added) |
m (→Description: <code> added where needed) |
||
Line 2: | Line 2: | ||
__NOTOC__ | __NOTOC__ | ||
== Description == | == Description == | ||
− | Fills the screen with a solid color. It only works with BLACK and WHITE colors, not with INVERSE. fillScreen is almost instant compared to fillRect. | + | Fills the screen with a solid color. It only works with <code>BLACK</code> and <code>WHITE</code> colors, not with <code>INVERSE</code>. <code>fillScreen</code> is almost instant compared to <code>fillRect</code>. |
== Syntax == | == Syntax == |
Latest revision as of 2015-01-12T12:20:53
Description
Fills the screen with a solid color. It only works with BLACK
and WHITE
colors, not with INVERSE
. fillScreen
is almost instant compared to fillRect
.
Syntax
gb.display.fillScreen(color);
Parameters
- color: either
BLACK
orWHITE
Returns
none