operator unary- method

Angle operator unary-()

Returns a new Angle, which is the same as this Angle but in the opposite direction.

Implementation

Angle operator -() {
  return Angle.fromDegrees(-degrees);
}