operator - method

UserTransform operator -(
  1. UserTransform other
)

The field-wise difference.

Implementation

UserTransform operator -(UserTransform other) {
  return UserTransform()
    ..offset = offset - other.offset
    ..scale = scale - other.scale
    ..rotateZ = rotateZ - other.rotateZ
    ..flipX = flipX - other.flipX
    ..activeRotateZ = activeRotateZ - other.activeRotateZ
    ..activeScale = activeScale - other.activeScale;
}