get Curve By Type
Returns the Curve value based on the given type.
Return
The Curve object corresponding to the given type.
Parameters
type
The type of the curve.
Throws
if the given type is not supported.
Returns the Curve value based on the given type.
The Curve object corresponding to the given type.
The type of the curve.
if the given type is not supported.