|
PDF Clown 0.1.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<RotationEnum>
org.pdfclown.documents.contents.RotationEnum
public enum RotationEnum
Rotation (clockwise) [PDF:1.6:3.6.2].
| Enum Constant Summary | |
|---|---|
Downward
Downward (0° clockwise). |
|
Leftward
Leftward (90° clockwise). |
|
Rightward
Rightward (270° clockwise). |
|
Upward
Upward (180° clockwise). |
|
| Method Summary | |
|---|---|
PdfInteger |
getCode()
|
Dimension2D |
transform(Dimension2D size)
|
static RotationEnum |
valueOf(PdfInteger value)
Gets the direction corresponding to the given value. |
static RotationEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static RotationEnum[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final RotationEnum Downward
public static final RotationEnum Leftward
public static final RotationEnum Upward
public static final RotationEnum Rightward
| Method Detail |
|---|
public static RotationEnum[] values()
for (RotationEnum c : RotationEnum.values()) System.out.println(c);
public static RotationEnum valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic static RotationEnum valueOf(PdfInteger value)
public PdfInteger getCode()
public Dimension2D transform(Dimension2D size)
|
PDF Clown 0.1.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||