operator - method

AlignmentDirectional operator -(
  1. AlignmentDirectional other
)

Returns the difference between two AlignmentDirectionals.

Implementation

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