gb.display.drawFastHLine
From Gamebuino Wiki
Revision as of 2014-06-24T18:56:10 by Rodot (talk | contribs) (Created page with "{{lowercase}} __NOTOC__ == Description == Draws an horizontal line of a given length starting from a given point. The color used is defined using <code>gb.display.setColor...")
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