setBoundsCentered

fun Drawable.setBoundsCentered(centerX: Float, centerY: Float)
fun Drawable.setBoundsCentered(centerX: Int, centerY: Int)

Sets the bounds of the drawable to be centered around the location centerX, centerY based on minimum size.