public enum AlignmentType extends Enum<AlignmentType>
| Enum Constant and Description |
|---|
BOTTOM_CENTER
The specific point at the middle of the bottom side of bounding rectangle.
|
BOTTOM_LEFT
The specific point at the bottom-left corner of the bounding rectangle.
|
BOTTOM_RIGHT
The specific point at the bottom-right corner of the bounding rectangle.
|
CENTER
The specific point at the very center of the bounding rectangle.
|
MIDDLE_LEFT
The specific point at the middle of the left side of bounding rectangle.
|
MIDDLE_RIGHT
The specific point at the middle of the right side of bounding rectangle.
|
TOP_CENTER
The specific point at the center of the top side of the bounding rectangle.
|
TOP_LEFT
The specific point at the top-left corner of the bounding rectangle.
|
TOP_RIGHT
The specific point at the top-right corner of the bounding rectangle.
|
| Modifier and Type | Method and Description |
|---|---|
static AlignmentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AlignmentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlignmentType MIDDLE_LEFT
public static final AlignmentType MIDDLE_RIGHT
public static final AlignmentType TOP_CENTER
public static final AlignmentType TOP_LEFT
public static final AlignmentType TOP_RIGHT
public static final AlignmentType BOTTOM_CENTER
public static final AlignmentType BOTTOM_LEFT
public static final AlignmentType BOTTOM_RIGHT
public static final AlignmentType CENTER
public static AlignmentType[] values()
for (AlignmentType c : AlignmentType.values()) System.out.println(c);
public static AlignmentType 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