BezierCurve

Available since LÖVE 0.9.0
This type is not supported in earlier versions.

A Bézier curve object that can evaluate and render Bézier curves of arbitrary degree. For more information on Bézier curves check this great article on Wikipedia.

Constructors

love.math.newBezierCurveCreates a new BezierCurve object.Added since 0.9.0

Functions

BezierCurve:evaluateEvaluate Bézier curve at parameter t.Added since 0.9.0
BezierCurve:getControlPointGet coordinates of the i-th control point.Added since 0.9.0
BezierCurve:getControlPointCountGet the number of control points in the Bézier curve.Added since 0.9.0
BezierCurve:getDegreeGet degree of the Bézier curve.Added since 0.9.0
BezierCurve:getDerivativeGet derivate of the Bézier curve.Added since 0.9.0
BezierCurve:insertControlPointInsert control point after the i-th control point.Added since 0.9.0
BezierCurve:renderGet a list of points on the curve.Added since 0.9.0
BezierCurve:rotateRotate the Bézier curve.Added since 0.9.0
BezierCurve:scaleScale the Bézier curve.Added since 0.9.0
BezierCurve:setControlPointSet coordinates of the i-th control point.Added since 0.9.0
BezierCurve:translateMove the Bézier curve.Added since 0.9.0
Object:typeGets the type of the object as a string.
Object:typeOfChecks whether an object is of a certain type.

Supertypes

See Also

Other Languages

Personal tools