Compose API Reference Compose UI Unit toOffset Function Common inline fun IntOffset.toOffset() = Offset(x.toFloat(), y.toFloat()) Converts the IntOffset to an Offset.
Compose API Reference Compose UI Unit toOffset Function Common inline fun IntOffset.toOffset() = Offset(x.toFloat(), y.toFloat()) Converts the IntOffset to an Offset.