Graphics Reference

Introduction

Graphic functions can be used on the display, lights or images.

For example Graphics::fill() fills with one color. You can do the following:

  • gb.display.fill() to fill the display with one color.
  • gb.lights.fill() to set all the lights to the same color.
  • myImage.fill() to fill your Image with one color.

You can use graphic functions directly to the screen and bypass the gb.display buffer by using gb.tft (not advised!).

Entries with an asterix (*) are not available for gb.tft.

General

Text

Shapes

Frame Handling

Saving

Danger Zone