|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Graphics2DAdapter
This interface represents an optional feature that can be provided by a renderer. It is exposed by calling the getGraphics2DAdapter() method on the renderer. Renderers that support this feature allow painting of arbitrary images through a Graphics2D instance.
Method Summary | |
---|---|
void |
paintImage(org.apache.xmlgraphics.java2d.Graphics2DImagePainter painter,
RendererContext context,
int x,
int y,
int width,
int height)
Paints an arbitrary images on a given Graphics2D instance. |
void |
paintImage(Graphics2DImagePainter painter,
RendererContext context,
int x,
int y,
int width,
int height)
Deprecated. Use the variant with the Graphics2DImagePainter from XML Graphics Commons instead |
Method Detail |
---|
void paintImage(org.apache.xmlgraphics.java2d.Graphics2DImagePainter painter, RendererContext context, int x, int y, int width, int height) throws java.io.IOException
painter
- the painter which will paint the actual imagecontext
- 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
java.io.IOException
- In case of an I/O error while writing the output formatvoid paintImage(Graphics2DImagePainter painter, RendererContext context, int x, int y, int width, int height) throws java.io.IOException
painter
- the painter which will paint the actual imagecontext
- 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
java.io.IOException
- In case of an I/O error while writing the output format
|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |