public static enum WaterMark.Align extends java.lang.Enum<WaterMark.Align>
| Enum Constant and Description |
|---|
LeftBottom
左下角
|
LeftTop
左上角
|
RightBottom
右下角
|
RightTop
右上角
|
| Modifier and Type | Method and Description |
|---|---|
static WaterMark.Align |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WaterMark.Align[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WaterMark.Align LeftTop
public static final WaterMark.Align RightTop
public static final WaterMark.Align LeftBottom
public static final WaterMark.Align RightBottom
public static WaterMark.Align[] values()
for (WaterMark.Align c : WaterMark.Align.values()) System.out.println(c);
public static WaterMark.Align valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null