roundToIntSizeConvert a [Size] to an [IntSize]. This rounds [Size.width] and [Size.height] to the nearestCompose API Reference Compose UI Unit roundToIntSize Function Common fun Size.roundToIntSize(): IntSize Convert a Size to an IntSize. This rounds Size.width and Size.height to the nearest integer.
Compose API Reference Compose UI Unit roundToIntSize Function Common fun Size.roundToIntSize(): IntSize Convert a Size to an IntSize. This rounds Size.width and Size.height to the nearest integer.