operator - method

AlignmentDirectional operator - (AlignmentDirectional other)

Returns the difference between two AlignmentDirectionals.

Implementation

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