Skip to content

raylib.DrawSplineSegmentBezierCubic

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Draw spline segment: Cubic Bezier, 2 points, 2 control points

Parameters

Parameter Default Value Note
p1
p2
p3
p4
thick 1.0
color WHITE

Return value

None.

Notes

Example

// Draw a single cubic Bezier segment: p1, ctrl1, ctrl2, p2
raylib.DrawSplineSegmentBezierCubic [50, 200], [100, 50], [250, 350], [350, 200], 2, raylib.BLUE

Clone this wiki locally