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


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


<h2 id="offset-x-y">Offset</h2>

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


```kotlin
inline fun Offset(x: Float, y: Float) = Offset(packFloats(x, y))
```


Constructs an Offset from the given relative `x` and `y` offsets