Skip to content

raylib.DrawPolyLines

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Draw a polygon outline 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 the outline of a pentagon centered at (200, 200)
raylib.DrawPolyLines [200, 200], 5, 60, 0, raylib.GREEN

Clone this wiki locally