|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.image.loader.batik.Graphics2DImagePainterImpl
public class Graphics2DImagePainterImpl
A graphics 2D image painter implementation for painting SVG images using Batik.
Field Summary | |
---|---|
protected org.apache.batik.bridge.BridgeContext |
ctx
the Batik bridge context |
protected java.awt.Dimension |
imageSize
the intrinsic size of the image |
Constructor Summary | |
---|---|
Graphics2DImagePainterImpl(org.apache.batik.gvt.GraphicsNode root,
org.apache.batik.bridge.BridgeContext ctx,
java.awt.Dimension imageSize)
Main constructor |
Method Summary | |
---|---|
java.awt.Dimension |
getImageSize()
|
void |
paint(java.awt.Graphics2D g2d,
java.awt.geom.Rectangle2D area)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final org.apache.batik.bridge.BridgeContext ctx
protected final java.awt.Dimension imageSize
Constructor Detail |
---|
public Graphics2DImagePainterImpl(org.apache.batik.gvt.GraphicsNode root, org.apache.batik.bridge.BridgeContext ctx, java.awt.Dimension imageSize)
root
- the graphics node rootctx
- the bridge contextimageSize
- the image sizeMethod Detail |
---|
public java.awt.Dimension getImageSize()
getImageSize
in interface org.apache.xmlgraphics.java2d.Graphics2DImagePainter
public void paint(java.awt.Graphics2D g2d, java.awt.geom.Rectangle2D area)
paint
in interface org.apache.xmlgraphics.java2d.Graphics2DImagePainter
|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |