|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PDFFont.SubType>
org.foray.pdf.object.PDFFont.SubType
public static enum PDFFont.SubType
Enumeration of the various font subtypes possible in a PDF document.
Enum Constant Summary | |
---|---|
MMTYPE1
Font subtype indicating a Multiple Master Type 1 simple font. |
|
TRUETYPE
Font subtype indicating a TrueType simple font. |
|
TYPE0
Font subtype indicating a composite font. |
|
TYPE1
Font subtype indicating a Type 1 simple font. |
|
TYPE3
Font subtype indicating a Type 3 simple font. |
Method Summary | |
---|---|
String |
getPdfName()
Returns the name of this SubType, as it appears in a PDF document. |
static PDFFont.SubType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PDFFont.SubType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PDFFont.SubType TYPE0
public static final PDFFont.SubType TYPE1
public static final PDFFont.SubType MMTYPE1
public static final PDFFont.SubType TYPE3
public static final PDFFont.SubType TRUETYPE
Method Detail |
---|
public static PDFFont.SubType[] values()
for (PDFFont.SubType c : PDFFont.SubType.values()) System.out.println(c);
public static PDFFont.SubType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String getPdfName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |