Android Graphics Utilities / it.czerwinski.android.graphics / android.graphics.Rect
Extensions for android.graphics.Rect
set | Copies the coordinates from src rounded to integer into this rectangle.fun Rect .set(src: RectF ): Unit |
setCircle | Copies the coordinates from the circle defined by its center and radius.fun Rect .setCircle(cx: Int , cy: Int , radius: Int ): Unit |
setOval | Copies the coordinates from the oval defined by its center and radii.fun Rect .setOval(cx: Int , cy: Int , rx: Int , ry: Int ): Unit |