public class ImageOutputControl extends AbstractAFPObject
log
Constructor and Description |
---|
ImageOutputControl(int x,
int y)
Constructor for the ImageOutputControl The x parameter specifies the
offset, along the X-axis, of the IM image object area origin to the
origin of the including page and the y parameter specifies the offset
along the Y-axis.
|
Modifier and Type | Method and Description |
---|---|
void |
setOrientation(int orientation)
Sets the orientation which specifies the amount of clockwise rotation of
the IM image object area.
|
void |
setSinglepoint(boolean singlepoint)
Sets the singlepoint, if true map an image point to a single presentation
device pel in the IM image object area.
|
void |
writeDataStream(java.io.OutputStream os)
Accessor method to write the AFP datastream for the Image Output Control
|
writeObjectList
public ImageOutputControl(int x, int y)
x
- The X-axis offset.y
- The Y-axis offset.public void writeDataStream(java.io.OutputStream os) throws java.io.IOException
writeDataStream
in class AbstractAFPObject
os
- The stream to write tojava.io.IOException
- if an I/O exception occuredpublic void setOrientation(int orientation)
orientation
- The orientation to set.public void setSinglepoint(boolean singlepoint)
singlepoint
- Use the singlepoint basis when true.Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.