setBitmap

open fun setBitmap(@NonNull bitmap: Bitmap)

Sets a custom bitmap for this stamp annotation.

Note: This clears existing stamp type, title and subtitle.

Parameters

bitmap

Bitmap to be stored into the annotation.


open fun setBitmap(@NonNull compressedBitmap: Array<Byte>)

Sets a custom bitmap for this stamp annotation.

Note: This clears existing stamp type, title and subtitle.

Parameters

compressedBitmap

JPEG compressed bitmap data to be stored into the annotation.