toDirectional method

DirectionalGradientAngle toDirectional()

Converts this to a directional gradient angle.

Returns: A DirectionalGradientAngle based on this angle.

Implementation

DirectionalGradientAngle toDirectional() {
  return DirectionalGradientAngle(angle);
}