Difference between revisions of "Gb.display.fillScreen"
From Gamebuino Wiki
(Created page with "{{lowercase}} __NOTOC__ == Description == Fills the screen with a solid color. == Syntax == <pre>gb.display.fillScreen(color);</pre> == Parameters == * color: either <code>B...") |
m (→Description: <code> added where needed) |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
__NOTOC__ | __NOTOC__ | ||
== Description == | == Description == | ||
− | Fills the screen with a solid color. | + | 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