asBitmap

open override fun asBitmap(width: Int, height: Int): Bitmap?

Converts a Image to Bitmap.


fun asBitmap(width: Int, height: Int, activeInnerColor: Rgba? = null, activeOuterColor: Rgba? = null, inactiveInnerColor: Rgba? = null, inactiveOuterColor: Rgba? = null): Bitmap?

Converts an image to Bitmap