Skip to content

raylib.DrawSplineBezierQuadratic

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Draw spline: Quadratic Bezier, minimum 3 points (1 control point): [p1, c2, p3, c4...]

Parameters

Parameter Default Value Note
points
thick 1.0
color WHITE

Return value

None.

Notes

Example

// Draw a quadratic Bezier spline: start, ctrl, end
pts = [[50, 200], [200, 50], [350, 200]]
raylib.DrawSplineBezierQuadratic pts, 2, raylib.GREEN

Clone this wiki locally