public enum TextBaseline extends Enum<TextBaseline> implements Key
Enum Constant and Description |
---|
ALPHABETIC
The text baseline is the normal alphabetic baseline.
|
BOTTOM
The text baseline is the bottom of the bounding box.
|
HANGING
The text baseline is the hanging baseline.
|
IDEOGRAPHIC
The text baseline is the ideographic baseline; this is the bottom of the body of the characters, if the main body of characters protrudes beneath the alphabetic baseline.
|
MIDDLE
The text baseline is the middle of the em square.
|
TOP
The text baseline is the top of the em square.
|
Modifier and Type | Method and Description |
---|---|
String |
value()
Returns the name value of property
|
static TextBaseline |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextBaseline[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
checkAndGetIfValid, checkIfValid, compare, create, equals, getKeyByValue, getKeyByValue, hasKeyByValue, isValid
public static final TextBaseline ALPHABETIC
public static final TextBaseline BOTTOM
public static final TextBaseline HANGING
public static final TextBaseline IDEOGRAPHIC
public static final TextBaseline MIDDLE
public static final TextBaseline TOP
public static TextBaseline[] values()
for (TextBaseline c : TextBaseline.values()) System.out.println(c);
public static TextBaseline 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 null