<div class='type'>Function</div>


<a id='references'></a>


<h2 id="tocomposeintrect">toComposeIntRect</h2>

<div class='sourceset sourceset-android'>Android</div>


```kotlin
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`