drawColor

open fun drawColor(@NonNull() src: Bitmap, @ColorInt() color: Int): Bitmap

Return the bitmap with the specified color.

Return

the bitmap with the specified color

Parameters

src

The source of bitmap.

color

The color.

open fun drawColor(@NonNull() src: Bitmap, @ColorInt() color: Int, recycle: Boolean): Bitmap

Return the bitmap with the specified color.

Return

the bitmap with the specified color

Parameters

src

The source of bitmap.

color

The color.

recycle

True to recycle the source of bitmap, false otherwise.