operator * method

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

Scales the AlignmentDirectional in each dimension by the given factor.

Implementation

@override
AlignmentDirectional operator *(double other) {
  return AlignmentDirectional(start * other, y * other);
}