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. |
![]() |
Functions
BezierCurve:evaluate | Evaluate Bézier curve at parameter t. |
![]() |
|
BezierCurve:getControlPoint | Get coordinates of the i-th control point. |
![]() |
|
BezierCurve:getControlPointCount | Get the number of control points in the Bézier curve. |
![]() |
|
BezierCurve:getDegree | Get degree of the Bézier curve. |
![]() |
|
BezierCurve:getDerivative | Get derivate of the Bézier curve. |
![]() |
|
BezierCurve:insertControlPoint | Insert control point after the i-th control point. |
![]() |
|
BezierCurve:render | Get a list of points on the curve. |
![]() |
|
BezierCurve:rotate | Rotate the Bézier curve. |
![]() |
|
BezierCurve:scale | Scale the Bézier curve. |
![]() |
|
BezierCurve:setControlPoint | Set coordinates of the i-th control point. |
![]() |
|
BezierCurve:translate | Move the Bézier curve. |
![]() |
|
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
Category: