gb.display.drawFastHLine

From Gamebuino Wiki
Jump to: navigation, search

Description

Draws an horizontal line of a given length starting from a given point. The color used is defined using gb.display.setColor().

Syntax

gb.display.drawFastHLine(x, y, w);

Parameters

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

Returns

none

Example

See also