public static enum Scalr.Rotation extends java.lang.Enum<Scalr.Rotation>
Enum Constant and Description |
---|
CW_180
180-degree, clockwise rotation (to the right).
|
CW_270
270-degree, clockwise rotation (to the right).
|
CW_90
90-degree, clockwise rotation (to the right).
|
FLIP_HORZ
Flip the image horizontally by reflecting it around the y axis.
|
FLIP_VERT
Flip the image vertically by reflecting it around the x axis.
|
Modifier and Type | Method and Description |
---|---|
static Scalr.Rotation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Scalr.Rotation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Scalr.Rotation CW_90
public static final Scalr.Rotation CW_180
public static final Scalr.Rotation CW_270
public static final Scalr.Rotation FLIP_HORZ
public static final Scalr.Rotation FLIP_VERT
public static Scalr.Rotation[] values()
for (Scalr.Rotation c : Scalr.Rotation.values()) System.out.println(c);
public static Scalr.Rotation 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