public enum TextBaseline extends Enum<TextBaseline>
| 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 |
toString() |
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.
|
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 nullpublic String toString()
toString in class Enum<TextBaseline>Copyright © 2018 Regenstrief Center for Biomedical Informatics. All rights reserved.