public enum CIDFontType extends java.lang.Enum<CIDFontType>
Enum Constant and Description |
---|
CIDTYPE0
CID Font Type 0 (based on Type 1 format)
|
CIDTYPE2
CID Font Type 2 (based on TrueType format)
|
Modifier and Type | Method and Description |
---|---|
static CIDFontType |
byName(java.lang.String name)
Returns the CIDFontType by name.
|
static CIDFontType |
byValue(int value)
Returns the CID FontType by value.
|
java.lang.String |
getName() |
int |
getValue() |
static CIDFontType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CIDFontType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CIDFontType CIDTYPE0
public static final CIDFontType CIDTYPE2
public static CIDFontType[] values()
for (CIDFontType c : CIDFontType.values()) System.out.println(c);
public static CIDFontType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static CIDFontType byName(java.lang.String name)
name
- Name of the CID font type to look uppublic static CIDFontType byValue(int value)
value
- Value of the CID font type to look uppublic java.lang.String getName()
public int getValue()
Copyright 1999-2021 The Apache Software Foundation. All Rights Reserved.