operator unary- method

  1. @override
Alignment operator unary-()
override

Returns the negation of the given Alignment.

Implementation

@override
Alignment operator -() {
  return Alignment(-x, -y);
}