public class ObjectAreaDescriptor extends AbstractDescriptor
AbstractAFPObject.Category, AbstractAFPObject.Typeheight, heightRes, width, widthRestripletsLOG, SF_CLASS, SF_HEADER_LENGTH| Constructor and Description |
|---|
ObjectAreaDescriptor(int width,
int height,
int widthRes,
int heightRes)
Construct an object area descriptor for the specified object width
and object height.
|
| 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
|
getHeight, getWidth, toStringaddTriplet, addTriplets, getFullyQualifiedName, getTripletDataLength, getTriplets, hasTriplet, hasTriplets, setComment, setFullyQualifiedName, setFullyQualifiedName, setObjectClassification, writeTripletswriteContent, writeEnd, writeStartcopySF, copySF, truncate, writeChunksToStream, writeObjectspublic ObjectAreaDescriptor(int width,
int height,
int widthRes,
int heightRes)
width - the object width.height - the object height.widthRes - the object width resolution.heightRes - the object height resolution.public void writeToStream(OutputStream os) throws IOException
writeToStream in interface StreamablewriteToStream in class AbstractStructuredObjectos - the outputsteam streamIOException - an I/O exception of some sort has occurred.Copyright © 2023 Apache Software Foundation. All rights reserved.