Circles
The circle()
method is used to create a circle.
Parameter | Description |
---|---|
cx | The x coordinate of the center of the circle. |
cy | The y coordinate of the center of the circle. |
r | Radius of the circle. |
Example
var ctx = node.getComponent(Graphics);
ctx.circle(200,200, 200);
ctx.stroke();
Return to the Graphics Component Reference documentation.