public enum RotationType extends Enum<RotationType>
Enum Constant and Description |
---|
Rotate180FlipNone
Specifies a 180-degree rotation without flipping.
|
Rotate180FlipX
Specifies a 180-degree rotation followed by a horizontal flip.
|
Rotate180FlipXY
Specifies a 180-degree rotation followed by a horizontal and vertical flip.
|
Rotate180FlipY
Specifies a 180-degree rotation followed by a vertical flip.
|
Rotate270FlipNone
Specifies a 270-degree rotation without flipping.
|
Rotate270FlipX
Specifies a 270-degree rotation followed by a horizontal flip.
|
Rotate270FlipXY
Specifies a 270-degree rotation followed by a horizontal and vertical flip.
|
Rotate270FlipY
Specifies a 270-degree rotation followed by a vertical flip.
|
Rotate90FlipNone
Specifies a 90-degree rotation without flipping.
|
Rotate90FlipXY
Specifies a 90-degree rotation followed by a horizontal and vertical flip.
|
Rotate90FlipY
Specifies a 90-degree rotation followed by a vertical flip.
|
RotateNoneFlipNone
Specifies no rotation and no flipping.
|
RotateNoneFlipX
Specifies no rotation followed by a horizontal flip.
|
Modifier and Type | Method and Description |
---|---|
static RotationType |
fromString(String text)
Returns the RotationType enumeration for the specified text.
|
int |
getValue()
Returns the integer representation of the enumeration member.
|
static RotationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RotationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RotationType RotateNoneFlipNone
public static final RotationType Rotate90FlipNone
public static final RotationType Rotate180FlipY
public static final RotationType RotateNoneFlipX
public static final RotationType Rotate180FlipX
public static final RotationType Rotate180FlipNone
public static final RotationType Rotate90FlipY
public static final RotationType Rotate90FlipXY
public static final RotationType Rotate270FlipNone
public static final RotationType Rotate270FlipX
public static final RotationType Rotate270FlipY
public static final RotationType Rotate270FlipXY
public static final RotationType Rotate180FlipXY
public static RotationType[] values()
for (RotationType c : RotationType.values()) System.out.println(c);
public static RotationType 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 int getValue()
public static RotationType fromString(String text)
text
- text representation of the specified RotationType enumeration member.
© 2016 ZIH Corp. All Rights Reserved.