Offset
Source set: Common
inline fun Offset(x: Float, y: Float) = Offset(packFloats(x, y))
Constructs an Offset from the given relative x and y offsets
Constructs an Offset from the given relative x and y offsets
Compose Multiplatform
Ship iOS, desktop, and web apps with Compose
RevenueCat
Add subscriptions to your apps in minutes
inline fun Offset(x: Float, y: Float) = Offset(packFloats(x, y))
Constructs an Offset from the given relative x and y offsets
Last updated: