operator * method

BlockAlignment operator *(
  1. double other
)

Scales the BlockAlignment in each dimension by the given factor.

Implementation

BlockAlignment operator *(double other) {
  return BlockAlignment(x * other, y * other);
}