core-ktx / androidx.graphics / android.graphics.Rect / toRectF

toRectF

inline fun Rect.toRectF(): RectF

Returns a RectF representation of this rectangle.