public static enum SubstanceSlices.ImageWatermarkKind extends java.lang.Enum<SubstanceSlices.ImageWatermarkKind>
| Enum Constant | Description |
|---|---|
APP_ANCHOR |
The image is anchored to the top-left corner of the application frame and not scaled.
|
APP_CENTER |
The image is anchored to the center of the application frame and not scaled.
|
APP_TILE |
The image is tiled starting from the top-left corner of the application frame and not
scaled.
|
SCREEN_CENTER_SCALE |
The default behaviour.
|
SCREEN_TILE |
The image is tiled starting from the screen top-left corner and not scaled.
|
| Modifier and Type | Method | Description |
|---|---|---|
static SubstanceSlices.ImageWatermarkKind |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static SubstanceSlices.ImageWatermarkKind[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubstanceSlices.ImageWatermarkKind SCREEN_CENTER_SCALE
public static final SubstanceSlices.ImageWatermarkKind SCREEN_TILE
public static final SubstanceSlices.ImageWatermarkKind APP_ANCHOR
public static final SubstanceSlices.ImageWatermarkKind APP_CENTER
public static final SubstanceSlices.ImageWatermarkKind APP_TILE
public static SubstanceSlices.ImageWatermarkKind[] values()
for (SubstanceSlices.ImageWatermarkKind c : SubstanceSlices.ImageWatermarkKind.values()) System.out.println(c);
public static SubstanceSlices.ImageWatermarkKind 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