operator - method

CropImageData operator -(
  1. CropImageData other
)

When subtracting two data objects, the translation is subtracted, the rotation is subtracted and the scale is divided.

Implementation

CropImageData operator -(CropImageData other) => CropImageData(
    x: x - other.x,
    y: y - other.y,
    angle: (angle - other.angle) % (2 * pi),
    scale: other.scale / scale);