toComposeIntRect

Function

Android
fun android.graphics.Rect.toComposeIntRect(): IntRect

Creates a new instance of androidx.compose.ui.unit.IntRect with the same bounds specified in the given android.graphics.Rect