Skip to content

raylib.DrawPolyLinesEx

JoeStrout edited this page Nov 16, 2026 · 4 revisions

Draw the outline of a regular polygon with the given number of sides and line thickness

Parameters

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

Return value

None.

Notes

Example

// Draw a thick outlined octagon centered at (200, 200)
raylib.DrawPolyLinesEx [200, 200], 8, 60, 0, 3, raylib.RED

Clone this wiki locally