Skip to content

raylib.DrawPoly

JoeStrout edited this page Oct 17, 2026 · 3 revisions

Draw a polygon of n sides

Parameters

Parameter Default Value Note
center [100, 100]
sides 6
radius 32
rotation 0
color WHITE

Return value

None.

Notes

Example

// Draw a filled hexagon centered at (200, 200)
raylib.DrawPoly [200, 200], 6, 60, 0, raylib.SKYBLUE

Clone this wiki locally