Difference between revisions of "BezierCurve:getDegree"

(Created page with "{{newin|0.9.0|090|type=function}} Get degree of the Bézier curve. The degree is equal to number-of-control-points - 1. == Function == === Synopsis === <source lang="lua"> d...")
 
m (Metadatafoo)
 
Line 20: Line 20:
 
{{#set:Description=Get degree of the Bézier curve.}}
 
{{#set:Description=Get degree of the Bézier curve.}}
 
== Other Languages ==
 
== Other Languages ==
{{i18n|RandomGenerator:getState}}
+
{{i18n|BezierCurve:getDegree}}

Latest revision as of 12:29, 21 August 2013

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

Get degree of the Bézier curve. The degree is equal to number-of-control-points - 1.

Function

Synopsis

degree = BezierCurve:getDegree( )

Arguments

None.

Returns

number degree
Degree of the Bézier curve.

See Also

Other Languages