|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Scalr.Rotation>
org.imgscalr.Scalr.Rotation
public static enum Scalr.Rotation
Used to define the different types of rotations that can be applied to an image during a resize operation.
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
static Scalr.Rotation |
valueOf(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. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
public static Scalr.Rotation[] values()
for (Scalr.Rotation c : Scalr.Rotation.values()) System.out.println(c);
public static Scalr.Rotation valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
Copyright 2011 The Buzz Media, LLC | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |