public enum CIDFontType extends 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(String name)
Returns the CIDFontType by name.
|
static CIDFontType |
byValue(int value)
Returns the CID FontType by value.
|
String |
getName() |
int |
getValue() |
static CIDFontType |
valueOf(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static CIDFontType byName(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 String getName()
public int getValue()
Copyright © 2025 Apache Software Foundation. All rights reserved.