Rotation
Contents
[
Hide
]Inheritance: java.lang.Object, java.lang.Enum < Rotation > com.aspose.pdf.Rotation, java.lang.Enum < Rotation >, com.aspose.pdf.Rotation
All Implemented Interfaces: Serializable, Comparable < Rotation >
public enum Rotation extends Enum < Rotation >
Enumeration of possible rotation values.
Fields
| Field | 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. |
Methods
| Method | Description |
|---|---|
| getByValue | |
| getValue | |
| valueOf | Returns the enum constant of this type with the specified name. |
| values | Returns an array containing the constants of this enum type, in the order they are declared. |
None
public static final Rotation None
Non-rotated.
on180
public static final Rotation on180
Rotated on 180 degrees.
on270
public static final Rotation on270
Rotated on 270 degrees clockwise.
on360
public static final Rotation on360
Rotated on 360 degrees clockwise.
on90
public static final Rotation on90
Rotated on 90 degrees clockwise.
getByValue
public static Rotation getByValue(int value)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value |
getValue
public int getValue()
valueOf
Returns the enum constant of this type with the specified name.
values
public static Rotation [] values()
Returns an array containing the constants of this enum type, in the order they are declared.
Returns: an array containing the constants of this enum type, in the order they are declared