public abstract class AbstractAFPImageHandlerRawStream extends AFPImageHandler implements ImageHandler
| Constructor and Description |
|---|
AbstractAFPImageHandlerRawStream() |
| Modifier and Type | Method and 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, generateDataObjectInfoclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisCompatiblegetPriority, 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-2022 The Apache Software Foundation. All Rights Reserved.