love.math.newBezierCurve
Creates a new BezierCurve object.

The number of vertices in the control polygon determines the degree of the curve, e.g. three vertices define a quadratic (degree 2) Bézier curve, four vertices define a cubic (degree 3) Bézier curve, etc.
curve = love.math.newBezierCurve( vertices )
vertices table The vertices of the control polygon as a table in the form of {x1, y1, x2, y2, x3, y3, ...}.
curve BezierCurve A Bézier curve object.
curve = love.math.newBezierCurve( x1, y1, x2, y2, ... )
x1 number The position of the first vertex of the control polygon on the x-axis.
y1 number The position of the first vertex of the control polygon on the y-axis.
x2 number The position of the second vertex of the control polygon on the x-axis.
y2 number The position of the second vertex of the control polygon on the y-axis.
... number Additional position of the vertex of the control polygon on the x-axis and y-axis.
curve BezierCurve A Bézier curve object.