roundToIntSize

Function

Common
fun Size.roundToIntSize(): IntSize

Convert a Size to an IntSize. This rounds Size.width and Size.height to the nearest integer.