Packages

 

com.groupdocs.signature.domain.stamps

Class StampTypes



  • public class StampTypes
    extends Object

    Stamp types container.

    • Field Detail

      • Round

        public static final StampType Round

        Round stamp type object.

      • Square

        public static final StampType Square

        Square stamp type object.

    • Constructor Detail

      • StampTypes

        public StampTypes()
    • Method Detail

      • getAllTypes

        public static StampType[] getAllTypes()

        All stamp types.

      • parse

        public static StampType parse(String parsingType)

        Returns stamp type with pasringType name. When name of stamp is unknown - exception is thrown.

        Parameters:
        parsingType - Source string of stamp type name.
        Returns:
        StampType instance.
      • tryParse

        public static StampType tryParse(String parsingType)

        Returns stamp type with pasringType name. When name of stamp is unknown - no exception is thrown and method returns null value.

        Parameters:
        parsingType - Source string of stamp type name.
        Returns:
        StampType instance.