Get degree of the Bézier curve. The degree is equal to number-of-control-points - 1.
degree = BezierCurve:getDegree( )
None.
number degree