[android-components](../../index.md) / [mozilla.components.support.ktx.android.graphics.drawable](../index.md) / [android.graphics.drawable.Drawable](./index.md)

### Extensions for android.graphics.drawable.Drawable

| Name | Summary |
|---|---|
| [toBitmap](to-bitmap.md) | `fun `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`.toBitmap(bitmapConfig: `[`Config`](https://developer.android.com/reference/android/graphics/Bitmap/Config.html)` = Bitmap.Config.ARGB_4444): `[`Bitmap`](https://developer.android.com/reference/android/graphics/Bitmap.html)<br>Converts a Drawable to Bitmap. via https://stackoverflow.com/a/46018816/2219998. |
