" />

gb.display.drawPixel

DESCRIPTION


Draws a single pixel at the given coordinates. The color used is defined using gb.display.setColor().

SYNTAX


gb.display.drawPixel(x, y);

PARAMETERS


  • x: horizontal coordinate. Should be between 0 (left of the display) and LCDWIDTH (right of the display)
  • y: vertical coordinate. Should be between 0 (top of the display) and LCDHEIGHT (bottom of the display)

RETURNS


none

0