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

setOval

fun Rect.setOval(cx: Int, cy: Int, rx: Int, ry: Int): Unit

Copies the coordinates from the oval defined by its center and radii.

Parameters

cx - The x-coordinate of the center of the oval.

cy - The x-coordinate of the center of the oval.

rx - The x-radius of the oval.

ry - The y-radius of the oval.

Receiver The rectangle.