addReflection

open fun addReflection(src: Bitmap, reflectionHeight: Int): Bitmap

Return the bitmap with reflection.

Return

the bitmap with reflection

Parameters

src

The source of bitmap.

reflectionHeight

The height of reflection.

open fun addReflection(src: Bitmap, reflectionHeight: Int, recycle: Boolean): Bitmap

Return the bitmap with reflection.

Return

the bitmap with reflection

Parameters

src

The source of bitmap.

reflectionHeight

The height of reflection.

recycle

True to recycle the source of bitmap, false otherwise.