public class ImageSizeParameter extends AbstractAFPObject
AbstractAFPObject.Category, AbstractAFPObject.Type
LOG, SF_CLASS, SF_HEADER_LENGTH
Constructor and Description |
---|
ImageSizeParameter(int hsize,
int vsize,
int hresol,
int vresol)
Constructor for a ImageSizeParameter for the specified
resolution, hsize and vsize.
|
Modifier and Type | Method and Description |
---|---|
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 ImageSizeParameter(int hsize, int vsize, int hresol, int vresol)
hsize
- The horizontal size of the image.vsize
- The vertical size of the image.hresol
- The horizontal resolution of the image.vresol
- The vertical resolution of the image.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.Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.