org.apache.fop.render
Interface ImageAdapter
- PSRenderer
public interface ImageAdapter
This interface represents an optional feature that can be provided by
a renderer. It is exposed by calling the getImageAdapter() method
on the renderer. Renderers that support this feature allow painting
of images (RendererImage instances).
void | paintImage(RenderedImage image, RendererContext context, int x, int y, int width, int height) - Paints an image at the given position.
|
paintImage
public void paintImage(RenderedImage image,
RendererContext context,
int x,
int y,
int width,
int height)
throws IOException
Paints an image at the given position.
image
- the image which will be paintedcontext
- the renderer context for the current rendererx
- X position of the imagey
- Y position of the imagewidth
- width of the imageheight
- height of the image
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.