Enum HersheyFontsEnum

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<HersheyFontsEnum>

    public enum HersheyFontsEnum
    extends java.lang.Enum<HersheyFontsEnum>
    • Enum Constant Detail

      • FONT_HERSHEY_SIMPLEX

        public static final HersheyFontsEnum FONT_HERSHEY_SIMPLEX
        normal size sans-serif font
      • FONT_HERSHEY_PLAIN

        public static final HersheyFontsEnum FONT_HERSHEY_PLAIN
        small size sans-serif font
      • FONT_HERSHEY_DUPLEX

        public static final HersheyFontsEnum FONT_HERSHEY_DUPLEX
        normal size sans-serif font (more complex than FONT_HERSHEY_SIMPLEX)
      • FONT_HERSHEY_COMPLEX

        public static final HersheyFontsEnum FONT_HERSHEY_COMPLEX
        normal size serif font
      • FONT_HERSHEY_TRIPLEX

        public static final HersheyFontsEnum FONT_HERSHEY_TRIPLEX
        normal size serif font (more complex than FONT_HERSHEY_COMPLEX)
      • FONT_HERSHEY_COMPLEX_SMALL

        public static final HersheyFontsEnum FONT_HERSHEY_COMPLEX_SMALL
        smaller version of FONT_HERSHEY_COMPLEX
      • FONT_HERSHEY_SCRIPT_SIMPLEX

        public static final HersheyFontsEnum FONT_HERSHEY_SCRIPT_SIMPLEX
        hand-writing style font
      • FONT_HERSHEY_SCRIPT_COMPLEX

        public static final HersheyFontsEnum FONT_HERSHEY_SCRIPT_COMPLEX
        more complex variant of FONT_HERSHEY_SCRIPT_SIMPLEX
      • FONT_ITALIC

        public static final HersheyFontsEnum FONT_ITALIC
        flag for italic font
    • Field Detail

      • value

        public final int value
    • Method Detail

      • values

        public static HersheyFontsEnum[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (HersheyFontsEnum c : HersheyFontsEnum.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static HersheyFontsEnum valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null