Electronic Signature Options
Options for configuring the ElectronicSignatureFragment. An instance of this can be passed to .
Constructors
Types
Properties
Opacity applied to created signatures, where 1 is fully opaque. Applies to drawn, typed and image signatures alike. Must be greater than zero and at most 1. Defaults to 1.
Stroke thickness drawn signatures use, in PDF points relative to the signing canvas. Must be greater than zero. Defaults to DEFAULT_THICKNESS_PT, which is what the dialog has always drawn with.
Defines the signature color options available when using the "Draw" or "Type" signing UI. Defaults to black, purple, and blue. signatureColorOptions Can be created from @ColorRes or @ColorInt with SignatureColorOptions.fromColorRes and SignatureColorOptions.fromColorInt respectively. Defaults can be created with SignatureColorOptions.fromDefaults
Which modes do you want to support? Defaults to Draw/Type/Image.
The saving strategy used when adding signatures. Defaults to . This will only work if a com.pspdfkit.signatures.storage.SignatureStorage has been created and set via com.pspdfkit.ui.PdfFragment.signatureStorage, otherwise SignatureSavingStrategy.NEVER_SAVE will be used.