org.apache.fop.render.afp.modca
public final class ObjectEnvironmentGroup extends AbstractNamedAFPObject
name, nameByteslog| Constructor and Description |
|---|
ObjectEnvironmentGroup()
Default constructor for the ObjectEnvironmentGroup.
|
ObjectEnvironmentGroup(java.lang.String name)
Constructor for the ObjectEnvironmentGroup, this takes a
name parameter which must be 8 characters long.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setImageData(int xresol,
int yresol,
int width,
int height)
Set the dimensions of the image.
|
void |
setObjectArea(int x,
int y,
int width,
int height,
int rotation,
int widthResolution,
int heightResolution)
Sets the object area parameters.
|
void |
writeDataStream(java.io.OutputStream os)
Accessor method to obtain write the AFP datastream for
the object environment group.
|
writeObjectListpublic ObjectEnvironmentGroup()
public ObjectEnvironmentGroup(java.lang.String name)
name - the object environment group namepublic void setObjectArea(int x,
int y,
int width,
int height,
int rotation,
int widthResolution,
int heightResolution)
x - the x position of the objecty - the y position of the objectwidth - the object widthheight - the object heightrotation - the object orientationwidthResolution - the object resolution widthheightResolution - the object resolution heightpublic void setImageData(int xresol,
int yresol,
int width,
int height)
xresol - the x resolution of the imageyresol - the y resolution of the imagewidth - the image widthheight - the image heightpublic void writeDataStream(java.io.OutputStream os)
throws java.io.IOException
writeDataStream in class AbstractAFPObjectos - The stream to write tojava.io.IOException - throw if an I/O exception of some sort has occurredCopyright 1999-2008 The Apache Software Foundation. All Rights Reserved.