BezierCurve (Français)
Disponible depuis LÖVE 0.9.0 |
Ce-tte type n'est pas supporté-e par des versions plus anciennes. |
une objet courbe de Bézier qui peut évaluer et rendre une courbe de Bézier de degré arbitraire. Pour d'avantage d'informations sur les courbes de Bézier, vous pouvez consulter cet article sur Wikipédia.
Constructeurs
love.math.newBezierCurve (Français) | Creates a new BezierCurve (Français) object. |
Fonctions
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:release | Immediately destroys the object's Lua reference. | 11.0 | |
Object:type | Gets the type of the object as a string. | ||
Object:typeOf | Checks whether an object is of a certain type. |
Supertypes
Voir également
Autres langues
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info