org.apache.fop.render.pdf
Class PDFGraphics2DAdapter
java.lang.Object
|
+--org.apache.fop.render.AbstractGraphics2DAdapter
|
+--org.apache.fop.render.pdf.PDFGraphics2DAdapter
- All Implemented Interfaces:
- Graphics2DAdapter
- public class PDFGraphics2DAdapter
- extends AbstractGraphics2DAdapter
Graphics2DAdapter implementation for PDF.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PDFGraphics2DAdapter
public PDFGraphics2DAdapter(PDFRenderer renderer)
- Main constructor
- Parameters:
renderer
- the Renderer instance to which this instance belongs
paintImage
public void paintImage(Graphics2DImagePainter painter,
RendererContext context,
int x,
int y,
int width,
int height)
throws java.io.IOException
- Description copied from interface:
Graphics2DAdapter
- Paints an arbitrary images on a given Graphics2D instance. The renderer
providing this functionality must set up a Graphics2D instance so that
the image with the given extents (in mpt) can be painted by the painter
passed to this method. The Graphics2DImagePainter is then passed this
Graphics2D instance so the image can be painted.
- See Also:
Graphics2DAdapter
setRenderingHintsForBufferedImage
protected void setRenderingHintsForBufferedImage(java.awt.Graphics2D g2d)
- Description copied from class:
AbstractGraphics2DAdapter
- Sets rendering hints on the Graphics2D created for painting to a BufferedImage. Subclasses
can modify the settings to customize the behaviour.
- Overrides:
setRenderingHintsForBufferedImage
in class AbstractGraphics2DAdapter
- See Also:
AbstractGraphics2DAdapter.setRenderingHintsForBufferedImage(
java.awt.Graphics2D)
Copyright 1999-2006 The Apache Software Foundation. All Rights Reserved.