minus

operator fun minus(other: IntOffset): IntOffset(source)

Subtracts two offsets and fails when either coordinate would overflow.

Return

the checked coordinate difference.

Parameters

other

the offset to subtract.