public class ImageOutputControl extends AbstractAFPObject
AbstractAFPObject.Category, AbstractAFPObject.Type
LOG, SF_CLASS, SF_HEADER_LENGTH
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 |
writeToStream(java.io.OutputStream os)
DataStream objects must implement the writeToStream()
method to write its data to the given OutputStream
|
copySF, copySF, truncate, writeChunksToStream, writeObjects
public ImageOutputControl(int x, int y)
x
- The X-axis offset.y
- The Y-axis offset.public void writeToStream(java.io.OutputStream os) throws java.io.IOException
os
- the outputsteam streamjava.io.IOException
- an I/O exception of some sort has occurred.public void setOrientation(int orientation)
orientation
- The orientation to set.public void setSinglepoint(boolean singlepoint)
singlepoint
- Use the singlepoint basis when true.Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.