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

© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/BezierCurve:getDegree