draw Watermark
fun drawWatermark( context: Context, bitmap: Bitmap, watermark: Watermark)
Content copied to clipboard
Draw a watermark into bitmap.
Parameters
context
Context.
bitmap
Bitmap where the watermark is to be drawn.
watermark
Watermark.Drawable or Watermark.Text to draw into the bitmap.
fun drawWatermark( context: Context, bitmap: Bitmap, watermarkList: ArrayList<Watermark>)
Content copied to clipboard
Draw a list of watermarks into bitmap.
Parameters
context
Context.
bitmap
Bitmap where the watermarks is to be drawn.
watermark List
List of Watermark.Drawable or Watermark.Text to draw into the bitmap.