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