public enum ImagePosition extends Enum<ImagePosition>
Enum Constant and Description |
---|
Centered
Center of drawing surface.
|
LowerLeft
Lower left hand corner of drawing surface.
|
LowerRight
Lower right hand corner of drawing surface.
|
UpperLeft
Upper left hand corner of drawing surface.
|
UpperRight
Upper right hand corner of drawing surface.
|
Modifier and Type | Method and Description |
---|---|
static ImagePosition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImagePosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImagePosition UpperLeft
public static final ImagePosition LowerLeft
public static final ImagePosition UpperRight
public static final ImagePosition LowerRight
public static final ImagePosition Centered
public static ImagePosition[] values()
for (ImagePosition c : ImagePosition.values()) System.out.println(c);
public static ImagePosition 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
© 2016 ZIH Corp. All Rights Reserved.