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.newBezierCurve Creates a new BezierCurve object. 0.9.0

Functions

BezierCurve:evaluate Evaluate Bézier curve at parameter t. 0.9.0
BezierCurve:getControlPoint Get coordinates of the i-th control point. 0.9.0
BezierCurve:getControlPointCount Get the number of control points in the Bézier curve. 0.9.0
BezierCurve:getDegree Get degree of the Bézier curve. 0.9.0
BezierCurve:getDerivative Get derivate of the Bézier curve. 0.9.0
BezierCurve:getSegment Gets a BezierCurve that corresponds to the specified segment of this BezierCurve. 0.10.0
BezierCurve:insertControlPoint Insert control point after the i-th control point. 0.9.0
BezierCurve:removeControlPoint Removes the specified control point. 0.10.0
BezierCurve:render Get a list of points on the curve. 0.9.0
BezierCurve:renderSegment Get a list of points on a specific part of the curve. 0.10.0
BezierCurve:rotate Rotate the Bézier curve. 0.9.0
BezierCurve:scale Scale the Bézier curve. 0.9.0
BezierCurve:setControlPoint Set coordinates of the i-th control point. 0.9.0
BezierCurve:translate Move the Bézier curve. 0.9.0
Object:type Gets the type of the object as a string.
Object:typeOf Checks whether an object is of a certain type.

Supertypes

See Also

BezierCurve:getDerivative

BezierCurve:getDerivative Available since LÖVE 0.9.0 This function is not supported in earlier versions. Get the derivative of the Bézier curve

2017-03-21 15:40:42
BezierCurve:removeControlPoint

BezierCurve:removeControlPoint Available since LÖVE 0.10.0 This function is not supported in earlier versions. Removes the specified control

2017-03-21 15:40:44
BezierCurve:getControlPoint

BezierCurve:getControlPoint Available since LÖVE 0.9.0 This function is not supported in earlier versions. Get coordinates of the i-th control

2017-03-21 15:40:41
BezierCurve:render

BezierCurve:render Available since LÖVE 0.9.0 This function is not supported in earlier versions. Get a list of coordinates to be used with

2017-03-21 15:40:44
BezierCurve:translate

BezierCurve:translate Available since LÖVE 0.9.0 This function is not supported in earlier versions. Move the Bézier curve by an offset.

2017-03-21 15:40:47
BezierCurve:getControlPointCount

BezierCurve:getControlPointCount Available since LÖVE 0.9.0 This function is not supported in earlier versions. Get the number of control points

2017-03-21 15:40:41
BezierCurve:getSegment

BezierCurve:getSegment Available since LÖVE 0.10.0 This function is not supported in earlier versions. Gets a BezierCurve that corresponds to

2017-03-21 15:40:43
BezierCurve:scale

BezierCurve:scale Available since LÖVE 0.9.0 This function is not supported in earlier versions. Scale the Bézier curve by a factor.

2017-03-21 15:40:46
BezierCurve:rotate

BezierCurve:rotate Available since LÖVE 0.9.0 This function is not supported in earlier versions. Rotate the Bézier curve by an angle.

2017-03-21 15:40:45
BezierCurve:evaluate

BezierCurve:evaluate Available since LÖVE 0.9.0 This function is not supported in earlier versions. Evaluate Bézier curve at parameter t. The

2017-03-21 15:40:40