operator * method

  1. @override
Alignment operator * (double other)
override

Scales the Alignment in each dimension by the given factor.

Implementation

@override
Alignment operator *(double other) {
  return Alignment(x * other, y * other);
}