void Graphics::fill( [ Color | ColorIndex color ] )
Graphics::fill will fill the screen/image/lights with the specified color, or, if none given, use whatever was set via Graphics::setColor.
none
#include <Gamebuino-Meta.h>void setup() {
gb.begin();
}void loop() {
while(!gb.update());
gb.display.clear();
gb.lights.clear();// turn the display red
gb.display.fill(RED);// make all lights green
gb.lights.fill(GREEN);
}