Skip to content

raylib.DrawLineStrip

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Draw lines sequuence (using gl lines)

Parameters

Parameter Default Value Note
points
color WHITE

Return value

None.

Notes

Example

// Draw a zigzag line through a series of points
pts = [[50, 200], [100, 100], [150, 200], [200, 100], [250, 200]]
raylib.DrawLineStrip pts, raylib.GREEN

Clone this wiki locally