public static enum PDFFont.Style extends java.lang.Enum<PDFFont.Style>
Enum Constant and Description |
---|
BOLD |
BOLDITALIC |
ITALIC |
NORMAL |
Modifier and Type | Method and Description |
---|---|
static PDFFont.Style |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PDFFont.Style[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PDFFont.Style BOLD
public static final PDFFont.Style ITALIC
public static final PDFFont.Style BOLDITALIC
public static final PDFFont.Style NORMAL
public static PDFFont.Style[] values()
for (PDFFont.Style c : PDFFont.Style.values()) System.out.println(c);
public static PDFFont.Style 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 null