Android Graphics Utilities / it.czerwinski.android.graphics / android.graphics.Rect / setCircle
setCircle
fun Rect.setCircle(cx: Int, cy: Int, radius: Int): Unit
Copies the coordinates from the circle defined by its center and radius.
Parameters
cx - The x-coordinate of the center of the circle.
cy - The x-coordinate of the center of the circle.
radius - The radius of the circle.
Receiver The rectangle.