natiny.render.circle

Lua
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

Lua
natiny.render.circle(160, 120, 48)