getBitmapFromDrawable

Extract an underlying bitmap from a drawable

Return

The underlying bitmap

Parameters

sourceDrawable

The source drawable

open fun getBitmapFromDrawable(sourceDrawable: Drawable): Bitmap