public enum Position extends Enum<Position>
Defines watermark position.
Enum Constant and Description |
---|
BOTTOM_CENTER
The bottom center position.
|
BOTTOM_LEFT
The bottom left position.
|
BOTTOM_RIGHT
The bottom right position.
|
DIAGONAL
The diagonal position.
|
TOP_CENTER
The top center position.
|
TOP_LEFT
The top left position.
|
TOP_RIGHT
The top right position.
|
Modifier and Type | Method and Description |
---|---|
static Position |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Position[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Position BOTTOM_CENTER
The bottom center position.
public static final Position BOTTOM_LEFT
The bottom left position.
public static final Position BOTTOM_RIGHT
The bottom right position.
public static final Position DIAGONAL
The diagonal position.
public static final Position TOP_CENTER
The top center position.
public static final Position TOP_LEFT
The top left position.
public static final Position TOP_RIGHT
The top right position.
public static Position 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 static Position[] values()
for (Position c : Position.values()) System.out.println(c);