natiny.render.circle
natiny.render.circle(cx, cy, radius)
Draws a filled circle on the currently bound render target, using the current drawing color set by natiny.render.set_color().
Parameters
| Name | Type | Description |
|---|---|---|
cx |
number |
Center X position |
cy |
number |
Center Y position |
radius |
number |
Circle radius |
Example
natiny.render.circle(160, 120, 48)
Notes
- Uses the current draw color on the current render target.