toAlpha

open fun toAlpha(src: Bitmap): Bitmap

Return the alpha bitmap.

Return

the alpha bitmap

Parameters

src

The source of bitmap.

open fun toAlpha(src: Bitmap, recycle: Boolean): Bitmap

Return the alpha bitmap.

Return

the alpha bitmap

Parameters

src

The source of bitmap.

recycle

True to recycle the source of bitmap, false otherwise.