public class ImageOutputControl extends AbstractAFPObject
AbstractAFPObject.Category, AbstractAFPObject.TypeLOG, 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(OutputStream os)
DataStream objects must implement the writeToStream()
method to write its data to the given OutputStream
|
copySF, copySF, truncate, writeChunksToStream, writeObjectspublic ImageOutputControl(int x,
int y)
x - The X-axis offset.y - The Y-axis offset.public void writeToStream(OutputStream os) throws IOException
os - the outputsteam streamIOException - 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 © 2023 Apache Software Foundation. All rights reserved.