public enum Rotation extends Enum<Rotation>
Enumeration of possible rotation values.
Enum Constant and Description |
---|
None
Non-rotated.
|
on180
Rotated on 180 degrees.
|
on270
Rotated on 270 degrees clockwise.
|
on360
Rotated on 360 degrees clockwise.
|
on90
Rotated on 90 degrees clockwise.
|
Modifier and Type | Method and Description |
---|---|
static Rotation |
getByValue(int value) |
int |
getValue() |
static Rotation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Rotation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Rotation None
Non-rotated.
public static final Rotation on90
Rotated on 90 degrees clockwise.
public static final Rotation on180
Rotated on 180 degrees.
public static final Rotation on270
Rotated on 270 degrees clockwise.
public static final Rotation on360
Rotated on 360 degrees clockwise.
public static Rotation[] values()
for (Rotation c : Rotation.values()) System.out.println(c);
public static 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 nameNullPointerException
- if the argument is nullpublic int getValue()
public static Rotation getByValue(int value)
Copyright © 2025 Aspose. All Rights Reserved.