mergeBitmap
fun mergeBitmap(topBitmap: Bitmap, bottomBitmap: Bitmap, position: MergePosition = MergePosition.LT): Bitmap
Merge the two bitmaps into one bitmap, based on the length and width of the bottomBitmap.
Return
null
if one of the bitmaps is recycled.
Since
0.5.2
Parameters
topBitmap
Bitmap at the top.
bottomBitmap
Bitmap at the bottom.
position
The position of the topBitmap in the return bitmap.