gb.display.drawPixel
From Gamebuino Wiki
Revision as of 2014-06-24T19:22:28 by Rodot (talk | contribs) (Created page with "{{lowercase}} __NOTOC__ == Description == Draws a single pixel at the given coordinates. The color used is defined using <code>gb.display.setColor()</code>. == Syntax == ...")
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