Package com.pspdfkit.ui.signatures
Object ElectronicSignatureOptions.Companion
-
- All Implemented Interfaces:
public class ElectronicSignatureOptions.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static ElectronicSignatureOptions.Companion
INSTANCE
-
Method Summary
Modifier and Type Method Description final Set<Font>
getAvailableFonts(Context context)
Gets a set of the available fonts to pick from when typing a signature. final Unit
setAvailableFonts(LinkedHashSet<Font> fonts)
Sets a custom LinkedHashSet
of fonts to pick from when typing a signature.-
-
Method Detail
-
getAvailableFonts
final Set<Font> getAvailableFonts(Context context)
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.
- Parameters:
context
- Context to use.- Returns:
a set of the available fonts to pick from when typing a signature.
-
setAvailableFonts
final Unit setAvailableFonts(LinkedHashSet<Font> fonts)
Sets a custom
LinkedHashSet
of fonts to pick from when typing a signature. If empty ornull
, .getAvailableFonts will return a predefined set of four fonts.- Parameters:
fonts
- a customLinkedHashSet
of fonts to pick from when typing a signature.
-
-
-
-