getCurveByType

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.