Companion

object Companion

Provides factory methods and configuration for electronic signature fonts.

Properties

Link copied to clipboard
const val DEFAULT_ALPHA: Float = 1.0f

Opacity of created signatures unless configured otherwise: fully opaque.

Link copied to clipboard
const val DEFAULT_THICKNESS_PT: Float = 4.0f

Stroke thickness the signature dialog draws with unless configured otherwise, in PDF points.

Functions

Link copied to clipboard

Gets a set of the available fonts to pick from when typing a signature. By default, a predefined set of four fonts (Caveat, Pacifico, Marck Script, Meddon) is returned.

Link copied to clipboard

Sets a custom LinkedHashSet of fonts to pick from when typing a signature. If empty or null, .getAvailableFonts will return a predefined set of four fonts.