gb.display.drawPixel

From Gamebuino Wiki
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

Personal tools
Namespaces

Variants
Actions
Navigation
Misc
Toolbox