fun Drawable.toBitmap(width: Int = intrinsicWidth, height: Int = intrinsicHeight, config: Config? = null): Bitmap
|
|
fun Drawable.updateBounds(left: Int = bounds.left, top: Int = bounds.top, right: Int = bounds.right, bottom: Int = bounds.bottom): Unit
Updates this drawable's bounds. This version of the method allows using named parameters to just set one or more axes. |