Skip to content

raylib.DrawCircleGradient

JoeStrout edited this page Apr 29, 2026 · 3 revisions

Draw a gradient-filled circle

Parameters

Parameter Default Value Note
centerX 0
centerY 0
radius 10.0
colorInner WHITE
colorOuter BLACK

Return value

None.

Notes

Example

// Draw a glowing yellow-to-transparent circle
raylib.DrawCircleGradient 400, 300, 80, raylib.YELLOW, raylib.BLACK

Clone this wiki locally