|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.render.afp.modca.AFPObject
org.apache.fop.render.afp.modca.ImageObject
An IM image data object specifies the contents of a raster image and its placement on a page, overlay, or page segment. An IM image can be either simple or complex. A simple image is composed of one or more Image Raster Data (IRD) structured fields that define the raster pattern for the entire image. A complex image is divided into regions called image cells. Each image cell is composed of one or more IRD structured fields that define the raster pattern for the image cell, and one Image Cell Position (ICP) structured field that defines the position of the image cell relative to the origin of the entire image. Each ICP also specifies the size of the image cell and a fill rectangle into which the cell is replicated.
Field Summary |
Fields inherited from class org.apache.fop.render.afp.modca.AFPObject |
LOGGER |
Constructor Summary | |
ImageObject(java.lang.String name)
Constructor for the image object with the specified name, the name must be a fixed length of eight characters. |
Method Summary | |
byte[] |
getDataStream()
DataStream objects must implement the getDataStream() method to return a byte array of the AFP datastream. |
void |
setImageCellPosition(ImageCellPosition imageCellPosition)
Sets the ImageCellPosition. |
void |
setImageInputDescriptor(ImageInputDescriptor imageInputDescriptor)
Sets the ImageInputDescriptor. |
void |
setImageOutputControl(ImageOutputControl imageOutputControl)
Sets the ImageOutputControl. |
void |
setImageRastorData(ImageRasterData imageRastorData)
Sets the ImageRastorData. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ImageObject(java.lang.String name)
name
- The name of the image.Method Detail |
public byte[] getDataStream() throws java.io.IOException
AFPObject
getDataStream
in class AFPObject
java.io.IOException
public void setImageOutputControl(ImageOutputControl imageOutputControl)
imageOutputControl
- The imageOutputControl to setpublic void setImageCellPosition(ImageCellPosition imageCellPosition)
imageCellPosition
- The imageCellPosition to setpublic void setImageInputDescriptor(ImageInputDescriptor imageInputDescriptor)
imageInputDescriptor
- The imageInputDescriptor to setpublic void setImageRastorData(ImageRasterData imageRastorData)
imageRastorData
- The imageRastorData to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |