public static enum Frame.ROTATE extends Enum<Frame.ROTATE>
Enum Constant and Description |
---|
BY_180
180 degrees rotation, not the same as horizontal flip
|
BY_90_CCW
90 degree counter-clockwise rotation
|
BY_90_CW
90 degree clockwise rotation
|
NO_ROTATION
Don't rotate
|
Modifier and Type | Method and Description |
---|---|
double |
toDouble()
Method to get the rotation angle.
|
static Frame.ROTATE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Frame.ROTATE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Frame.ROTATE BY_90_CW
public static final Frame.ROTATE BY_180
public static final Frame.ROTATE BY_90_CCW
public static final Frame.ROTATE NO_ROTATION
public static Frame.ROTATE[] values()
for (Frame.ROTATE c : Frame.ROTATE.values()) System.out.println(c);
public static Frame.ROTATE valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic double toDouble()
Copyright © 2015. All rights reserved.