Difference between revisions of "Gb.display.drawCircle"
From Gamebuino Wiki
m (Spelling) |
m (→Parameters: changed w to r) |
||
Line 11: | Line 11: | ||
* x: horizontal coordinate of the centre of the circle. | * x: horizontal coordinate of the centre of the circle. | ||
* y: vertical coordinate of the centre of the circle. | * y: vertical coordinate of the centre of the circle. | ||
− | * | + | * r: radius of the circle. |
== Returns == | == Returns == |
Latest revision as of 2014-08-18T23:01:27
Description
Draws 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 they will not be rendered.
Syntax
gb.display.drawCircle(x, y, r);
Parameters
- x: horizontal coordinate of the centre of the circle.
- y: vertical coordinate of the centre of the circle.
- r: radius of the circle.
Returns
none