operator unary- method
Unary negation operator.
Returns an offset with the coordinates negated.
If the Offset represents an arrow on a plane, this operator returns the same arrow but pointing in the reverse direction.
Implementation
Offset operator -() => new Offset(-dx, -dy);