BezierCurve:getDegree

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