<div class='type'>Function</div>


<a id='references'></a>


<h2 id="tooffset">toOffset</h2>

<div class='sourceset sourceset-common'>Common</div>


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


Converts the `IntOffset` to an `Offset`.