public static enum TextRenderer.FontStyle extends Enum<TextRenderer.FontStyle>
| Enum Constant and Description |
|---|
BOLD |
BOLD_ITALIC |
ITALIC |
PLAIN |
| Modifier and Type | Method and Description |
|---|---|
static TextRenderer.FontStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextRenderer.FontStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextRenderer.FontStyle PLAIN
public static final TextRenderer.FontStyle BOLD
public static final TextRenderer.FontStyle ITALIC
public static final TextRenderer.FontStyle BOLD_ITALIC
public static TextRenderer.FontStyle[] values()
for (TextRenderer.FontStyle c : TextRenderer.FontStyle.values()) System.out.println(c);
public static TextRenderer.FontStyle 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 nullCopyright © 2014–2022 ImageJ. All rights reserved.