|
fop 0.95beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.fop.render.ps.PSGraphics2DAdapter
public class PSGraphics2DAdapter
Graphics2DAdapter implementation for PostScript.
| Constructor Summary | |
|---|---|
PSGraphics2DAdapter(org.apache.xmlgraphics.ps.PSGenerator gen,
boolean clip)
Constructor for use without a PSRenderer instance. |
|
PSGraphics2DAdapter(PSRenderer renderer)
Main constructor |
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PSGraphics2DAdapter(PSRenderer renderer)
renderer - the Renderer instance to which this instance belongs
public PSGraphics2DAdapter(org.apache.xmlgraphics.ps.PSGenerator gen,
boolean clip)
gen - the PostScript generatorclip - true if the image should be clipped| Method Detail |
|---|
public void paintImage(org.apache.xmlgraphics.java2d.Graphics2DImagePainter painter,
RendererContext context,
int x,
int y,
int width,
int height)
throws java.io.IOException
paintImage in interface Graphics2DAdapterpainter - 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 0.95beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||