public class ObjectAreaDescriptor extends AbstractDescriptor
height, heightResolution, width, widthResolution
log
Constructor and Description |
---|
ObjectAreaDescriptor(int width,
int height,
int widthResolution,
int heightResolution)
Construct an object area descriptor for the specified object width
and object height.
|
Modifier and Type | Method and Description |
---|---|
void |
writeDataStream(java.io.OutputStream os)
Accessor method to write the AFP datastream for the Object Area Descriptor
|
writeObjectList
public ObjectAreaDescriptor(int width, int height, int widthResolution, int heightResolution)
width
- The page width.height
- The page height.widthResolution
- The page width resolution.heightResolution
- The page height resolution.public void writeDataStream(java.io.OutputStream os) throws java.io.IOException
writeDataStream
in class AbstractAFPObject
os
- The stream to write tojava.io.IOException
- thrown if an I/O exception of some sort has occurredCopyright 1999-2008 The Apache Software Foundation. All Rights Reserved.