operator + method

AlignmentDirectional operator + (AlignmentDirectional other)

Returns the sum of two AlignmentDirectionals.

Implementation

AlignmentDirectional operator +(AlignmentDirectional other) {
  return AlignmentDirectional(start + other.start, y + other.y);
}