mergeBitmap

Create a bitmap from a background and a foreground bitmap

Return

the merged bitmap

Parameters

background

The bitmap placed in the background

foreground

The bitmap placed in the foreground

open fun mergeBitmap(background: Bitmap, foreground: Bitmap): Bitmap

Create a bitmap from a background and a foreground bitmap

Return

the merged bitmap

Parameters

background

The bitmap placed in the background

foreground

The bitmap placed in the foreground

left

position of the left side of the foreground bitmap

top

position of the top side of the foreground bitmap

open fun mergeBitmap(background: Bitmap, foreground: Bitmap, left: Float, top: Float): Bitmap