|
|||||||||
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>
com.thebuzzmedia.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 | |
---|---|
CLOCKWISE
Rotate the image 90-degrees clockwise (to the right). |
|
COUNTER_CLOCKWISE
Rotate the image negative 90-degrees counter-clockwise (to the left). |
|
FLIP
Flip the image. |
|
NONE
No rotation should be applied to the image. |
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 |
---|
clone, compareTo, equals, finalize, 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 NONE
public static final Scalr.Rotation CLOCKWISE
public static final Scalr.Rotation COUNTER_CLOCKWISE
public static final Scalr.Rotation FLIP
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 |