toOffset

Converts the [IntOffset] to an [Offset].

toOffset

Function

Common
inline fun IntOffset.toOffset() = Offset(x.toFloat(), y.toFloat())

Converts the IntOffset to an Offset.