int16_t Graphics::width()
Graphics::width returns the width of the display / image / light / whatever
none
int16_t: width
#include <Gamebuino-Meta.h>void setup() {
gb.begin();
}void loop() {
while(!gb.update());
gb.display.clear();// print the screen width
gb.display.print("Screen width:");
gb.display.println(gb.display.width());// print the light width
gb.display.print("Light width:");
gb.display.println(gb.light.width());
}