Skip to content

raylib.DrawSplineSegmentLinear

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Draw spline segment: Linear, 2 points

Parameters

Parameter Default Value Note
p1
p2
thick 1.0
color WHITE

Return value

None.

Notes

Example

// Draw a single straight spline segment between two points
raylib.DrawSplineSegmentLinear [50, 100], [300, 250], 2, raylib.WHITE

Clone this wiki locally