Skip to content

raylib.ImageDrawCircle

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Draw circle within an image

Parameters

Parameter Default Value Note
dst
centerX 100
centerY 100
radius 32
color WHITE

Return value

None.

Notes

Example

img = raylib.GenImageColor(128, 128, raylib.BLACK)
raylib.ImageDrawCircle img, 64, 64, 32, raylib.RED
raylib.ExportImage img, "circle.png"
raylib.UnloadImage img

Clone this wiki locally