operator + method

Alignment operator + (Alignment other)

Returns the sum of two Alignments.

Implementation

Alignment operator +(Alignment other) {
  return Alignment(x + other.x, y + other.y);
}