org.apache.fop.render.afp.modca
Class ObjectAreaPosition
public class ObjectAreaPosition
The Object Area Position structured field specifies the origin and
orientation of the object area, and the origin and orientation of the
object content within the object area.
ObjectAreaPosition(int x, int y, int rotation) - Construct an object area position for the specified object y, y position.
|
void | writeDataStream(OutputStream os) - Accessor method to write the AFP datastream for the Object Area Position
|
ObjectAreaPosition
public ObjectAreaPosition(int x,
int y,
int rotation)
Construct an object area position for the specified object y, y position.
x
- The x coordinate.y
- The y coordinate.rotation
- The coordinate system rotation (must be 0, 90, 180, 270).
writeDataStream
public void writeDataStream(OutputStream os)
throws IOException
Accessor method to write the AFP datastream for the Object Area Position
- writeDataStream in interface AbstractAFPObject
os
- The stream to write to
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.