Skip to content

raylib.DrawSplineLinear

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Draw spline: linear, minimum 2 points

Parameters

Parameter Default Value Note
points
thick 1.0
color WHITE

Return value

None.

Notes

Example

// Draw a thick linear spline (straight segments) through four points
pts = [[50, 200], [150, 100], [250, 200], [350, 100]]
raylib.DrawSplineLinear pts, 2, raylib.WHITE

Clone this wiki locally