Object ElectronicSignatureOptions.Companion

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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 or null, .getAvailableFonts will return a predefined set of four fonts.

        Parameters:
        fonts - a custom LinkedHashSet of fonts to pick from when typing a signature.