|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<AxisOrientation>
org.apache.fop.afp.modca.AxisOrientation
public enum AxisOrientation
Represents the 4 bytes that specify the axis-area rotation reference coordinate system
| Enum Constant Summary | |
|---|---|
RIGHT_HANDED_0
|
|
RIGHT_HANDED_180
|
|
RIGHT_HANDED_270
|
|
RIGHT_HANDED_90
|
|
| Method Summary | |
|---|---|
static AxisOrientation |
getRightHandedAxisOrientationFor(int orientation)
Gets the right-handed axis orientation object for a given orientation in degrees. |
static AxisOrientation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AxisOrientation[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
void |
writeTo(byte[] out,
int offset)
|
void |
writeTo(java.io.OutputStream stream)
Writes the axis orientation area bytes to the output stream. |
| 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 AxisOrientation RIGHT_HANDED_0
public static final AxisOrientation RIGHT_HANDED_90
public static final AxisOrientation RIGHT_HANDED_180
public static final AxisOrientation RIGHT_HANDED_270
| Method Detail |
|---|
public static AxisOrientation[] values()
for (AxisOrientation c : AxisOrientation.values()) System.out.println(c);
public static AxisOrientation valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
public void writeTo(byte[] out,
int offset)
public void writeTo(java.io.OutputStream stream)
throws java.io.IOException
stream - the output stream to write to
java.io.IOException - if an I/O error occurspublic static AxisOrientation getRightHandedAxisOrientationFor(int orientation)
orientation - the orientation in degrees
AxisOrientation object
|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||