**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](#None) | Non-rotated. |
| [on180](#on180) | Rotated on 180 degrees. |
| [on270](#on270) | Rotated on 270 degrees clockwise. |
| [on360](#on360) | Rotated on 360 degrees clockwise. |
| [on90](#on90) | Rotated on 90 degrees clockwise. |

## Methods

| Method | Description |
| --- | --- |
| [getByValue](#getByValue-int-) |  |
| [getValue](#getValue--) |  |
| [valueOf](#valueOf-java.lang.String-) | Returns the enum constant of this type with the specified name. |
| [values](#values--) | Returns an array containing the constants of this enum type, in the order they are declared. |

### None {#None}
```
public static final Rotation None
```

Non-rotated.

### on180 {#on180}
```
public static final Rotation on180
```

Rotated on 180 degrees.

### on270 {#on270}
```
public static final Rotation on270
```

Rotated on 270 degrees clockwise.

### on360 {#on360}
```
public static final Rotation on360
```

Rotated on 360 degrees clockwise.

### on90 {#on90}
```
public static final Rotation on90
```

Rotated on 90 degrees clockwise.

### getByValue {#getByValue-int-}
```
public static Rotation getByValue(int value)
```



**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value |  |  |

### getValue {#getValue--}
```
public int getValue()
```



### valueOf {#valueOf-java.lang.String-}
Returns the enum constant of this type with the specified name.

### values {#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
