operator - method

BlockAlignment operator -(
  1. BlockAlignment other
)

Returns the difference between two BlockAlignments.

Implementation

BlockAlignment operator -(BlockAlignment other) {
  return BlockAlignment(x - other.x, y - other.y);
}