gb.display.drawPixel

From Gamebuino Wiki
Revision as of 2014-06-24T18: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 == ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

Example

See also