Difference between revisions of "Gb.display.fillCircle"
From Gamebuino Wiki
(Creation) |
m (Re wording) |
||
Line 3: | Line 3: | ||
== Description == | == Description == | ||
Draws and fills a circle at a specified location. The color used is defined using <code>[[gb.display.setColor]]()</code>. | Draws and fills a circle at a specified location. The color used is defined using <code>[[gb.display.setColor]]()</code>. | ||
− | If you specify values that cause parts of the circle to be off screen, then | + | If you specify values that cause parts of the circle to be off screen, then parts will not be rendered. |
== Syntax == | == Syntax == |
Revision as of 2014-08-05T02:00:29
Description
Draws and fills a circle at a specified location. The color used is defined using gb.display.setColor()
.
If you specify values that cause parts of the circle to be off screen, then parts will not be rendered.
Syntax
gb.display.fillCircle(x, y, r);
Parameters
- x: horizontal coordinate of the centre of the circle.
- y: vertical coordinate of the centre of the circle.
- w: radius of the circle.
Returns
none