Function

toRect

Jetpack Compose API reference for toRect.

toRect

Common
fun MutableRect.toRect(): Rect

toRect

Common
fun Size.toRect(): Rect

Convert a Size to a Rect.