plus

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

Adds two offsets and fails when either coordinate would overflow.

Return

the checked coordinate sum.

Parameters

other

the offset to add.