org.apache.fop.render.afp.modca

Class ObjectAreaPosition


public class ObjectAreaPosition
extends AbstractAFPObject

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.

Field Summary

Fields inherited from class org.apache.fop.render.afp.modca.AbstractAFPObject

log

Constructor Summary

ObjectAreaPosition(int x, int y, int rotation)
Construct an object area position for the specified object y, y position.

Method Summary

void
writeDataStream(OutputStream os)
Accessor method to write the AFP datastream for the Object Area Position

Methods inherited from class org.apache.fop.render.afp.modca.AbstractAFPObject

writeDataStream, writeObjectList

Constructor Details

ObjectAreaPosition

public ObjectAreaPosition(int x,
                          int y,
                          int rotation)
Construct an object area position for the specified object y, y position.
Parameters:
x - The x coordinate.
y - The y coordinate.
rotation - The coordinate system rotation (must be 0, 90, 180, 270).

Method Details

writeDataStream

public void writeDataStream(OutputStream os)
            throws IOException
Accessor method to write the AFP datastream for the Object Area Position
Overrides:
writeDataStream in interface AbstractAFPObject
Parameters:
os - The stream to write to

Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.