ImageHandler, ImageHandlerBaseAFPImageHandlerRawCCITTFax, AFPImageHandlerRawStreampublic abstract class AbstractAFPImageHandlerRawStream extends AFPImageHandler implements ImageHandler
| Constructor | Description |
|---|---|
AbstractAFPImageHandlerRawStream() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
handleImage(RenderingContext context,
org.apache.xmlgraphics.image.loader.Image image,
java.awt.Rectangle pos) |
Handles the given
Image instance painting it at the indicated position in the
output format being generated. |
protected void |
setAdditionalParameters(AFPDataObjectInfo imageObjectInfo,
org.apache.xmlgraphics.image.loader.impl.ImageRawStream image) |
Sets additional parameters on the image object info being built.
|
createDataObjectInfo, createObjectAreaInfo, createResourceInformation, generateDataObjectInfoisCompatiblegetPriority, getSupportedImageClass, getSupportedImageFlavorsprotected void setAdditionalParameters(AFPDataObjectInfo imageObjectInfo, org.apache.xmlgraphics.image.loader.impl.ImageRawStream image)
imageObjectInfo - the image object info being builtimage - the image being processedpublic void handleImage(RenderingContext context, org.apache.xmlgraphics.image.loader.Image image, java.awt.Rectangle pos) throws java.io.IOException
Image instance painting it at the indicated position in the
output format being generated.handleImage in interface ImageHandlercontext - the rendering contextimage - the image to be handledpos - the position and scaling of the image relative to the origin point of the
current viewport (in millipoints)java.io.IOException - if an I/O error occursCopyright 1999-2016 The Apache Software Foundation. All Rights Reserved.