createStampSignature

fun createStampSignature(bitmap: Bitmap, stampRect: RectF, biometricSignatureData: BiometricSignatureData? = null, drawWidthRatio: Float = 1.0f): Signature

Helper method to create a stamp signature.

Parameters

bitmap

Bitmap of a stamp signature.

stampRect

Bounding rectangle for this signature's bitmap.

biometricSignatureData

BiometricSignatureData that was collected with this signature. May return null if no biometric data was created

drawWidthRatio

The ratio of signature width to width of the drawing view used when drawing the signature. * This size is used in toAnnotation to auto-size annotation around touched point so that the largest signatures cover 1/4 of the page and * smaller less.