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(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(OutputStream os) throws IOException
os
- the outputsteam streamIOException
- an I/O exception of some sort has occurred.Copyright © 2025 Apache Software Foundation. All rights reserved.