public class ImageCellPosition extends AbstractAFPObject
AbstractAFPObject.Category, AbstractAFPObject.Type
LOG, SF_CLASS, SF_HEADER_LENGTH
Constructor and Description |
---|
ImageCellPosition(int x,
int y)
Main Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
setXFillSize(int size)
Specifies the extent of the fill rectangle in the X direction,
in image points.
|
void |
setXSize(int xcSize)
Specifies the extent in the X direction, in image points,
of this image cell.
|
void |
setYFillSize(int size)
Specifies the extent of the fill rectangle in the Y direction,
in image points.
|
void |
setYSize(int size)
Specifies the extent in the Y direction, in image points,
of this image cell.
|
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 ImageCellPosition(int x, int y)
x
- The offset of image cell in X directiony
- The offset of image cell in Y directionpublic void writeToStream(OutputStream os) throws IOException
os
- the outputsteam streamIOException
- an I/O exception of some sort has occurred.public void setXSize(int xcSize)
xcSize
- The size to set.public void setXFillSize(int size)
size
- The size to set.public void setYSize(int size)
size
- The size to set.public void setYFillSize(int size)
size
- The size to set.Copyright © 2025 Apache Software Foundation. All rights reserved.