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

setOval

fun RectF.setOval(cx: Float, cy: Float, rx: Float, ry: Float): 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.