natiny.render.circle_outline
natiny.render.circle_outline(cx, cy, radius [, thickness])
Draws a circle outline on the currently bound render target, using the current drawing color set by natiny.render.set_color().
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
cx |
number |
Center X position | |
cy |
number |
Center Y position | |
radius |
number |
Circle radius | |
thickness |
number |
1.0 |
Outline thickness |
Example
natiny.window.bind(win)
natiny.render.set_color(natiny.color.from_hex("#FFFFFF"))
natiny.render.circle_outline(160, 120, 56, 3.0)
natiny.window.unbind()