Rotation
Overview
Rotation is a enum in Aspose.PDF FOSS for Java.
Rotation angle enumeration for PDF pages (ISO 32000-1:2008, §7.7.3.3).
This enum provides 2 methods for working with Rotation objects in Java programs.
Available methods include: fromDegrees, getDegrees.
All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package.
Properties: degrees.
Values
| Value | Description |
|---|---|
None | |
on90 | |
on180 | |
on270 |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
degrees | int | Read | Returns the rotation angle in degrees. |
Methods
| Signature | Description |
|---|---|
getDegrees() → int | Returns the rotation angle in degrees. |
fromDegrees(degrees: int) → Rotation | Returns the Rotation for the given degree value, or None if not matched. |