Enum Class ChineseFont

java.lang.Object
java.lang.Enum<ChineseFont>
cn.net.pap.common.pdf.enums.ChineseFont
All Implemented Interfaces:
Serializable, Comparable<ChineseFont>, Constable

public enum ChineseFont extends Enum<ChineseFont>
中文字体
  • Enum Constant Details

  • Method Details

    • values

      public static ChineseFont[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ChineseFont valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getLocation

      public static String getLocation(String fontName)
      获得位置
      Parameters:
      fontName -
      Returns:
    • getFontName

      public String getFontName()
    • getFontAlias

      public String getFontAlias()
    • getFontFileName

      public String getFontFileName()
    • getLocation

      public String getLocation()