roundToIntSize
Source set: Common
fun Size.roundToIntSize(): IntSize
Convert a Size to an IntSize. This rounds Size.width and Size.height to the nearest integer.
Convert a Size to an IntSize.
Compose Multiplatform
Ship iOS, desktop, and web apps with Compose
RevenueCat
Add subscriptions to your apps in minutes
fun Size.roundToIntSize(): IntSize
Convert a Size to an IntSize. This rounds Size.width and Size.height to the nearest integer.
Last updated: