Difference between revisions of "Gb.display.fillScreen"

From Gamebuino Wiki
Jump to: navigation, search
(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: details added)
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 BLACK and WHITE colors, not with INVERSE. fillScreen is almost instant compared to fillRect.
  
 
== Syntax ==
 
== Syntax ==

Revision as of 2015-01-12T12:19:15

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 or WHITE

Returns

none

Example

See also