-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.ImageDrawCircle
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Draw circle within an image
| Parameter | Default Value | Note |
|---|---|---|
| dst | ||
| centerX | 100 | |
| centerY | 100 | |
| radius | 32 | |
| color | WHITE |
None.
img = raylib.GenImageColor(128, 128, raylib.BLACK)
raylib.ImageDrawCircle img, 64, 64, 32, raylib.RED
raylib.ExportImage img, "circle.png"
raylib.UnloadImage img