Function Common inline fun IntOffset.toOffset() = Offset(x.toFloat(), y.toFloat()) Converts the IntOffset to an Offset.