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.
love.math.newBezierCurve | Creates a new BezierCurve object. | ![]() |
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:getSegment | Gets a BezierCurve that corresponds to the specified segment of this BezierCurve. | ![]() |
|
BezierCurve:insertControlPoint | Insert control point after the i-th control point. | ![]() |
|
BezierCurve:removeControlPoint | Removes the specified control point. | ![]() |
|
BezierCurve:render | Get a list of points on the curve. | ![]() |
|
BezierCurve:renderSegment | Get a list of points on a specific part of 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:release | Immediately destroys the object's Lua reference. | ![]() |
|
Object:type | Gets the type of the object as a string. | ||
Object:typeOf | Checks whether an object is of a certain type. |