Skip to content

raylib.DrawCircleSector

JoeStrout edited this page Apr 29, 2026 · 3 revisions

Draw a piece of a circle

Parameters

Parameter Default Value Note
center
radius 10.0
startAngle 0
endAngle 90.0
segments 36
color WHITE

Return value

None.

Notes

Example

// Draw a pie-slice from 0 to 270 degrees
raylib.DrawCircleSector [300, 250], 80, 0, 270, 36, raylib.SKYBLUE

Clone this wiki locally