Android Graphics Utilities / it.czerwinski.android.graphics / android.graphics.Rect / set

set

fun Rect.set(src: RectF): Unit

Copies the coordinates from src rounded to integer into this rectangle.

Parameters

src - The rectangle whose coordinates are copied into this rectangle.

Receiver The rectangle.