add Reflection
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
Content copied to clipboard
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.