toRect

fun Size.toRect(): Rect

Converts a size to rectangle with the top left corner at 0,0


fun RectF.toRect(): Rect