org.apache.batik.gvt.svg12

Class MultiResGraphicsNode

public class MultiResGraphicsNode extends AbstractGraphicsNode implements SVGConstants

RasterRable This is used to wrap a Rendered Image back into the RenderableImage world.
Constructor Summary
MultiResGraphicsNode(Element multiImgElem, Rectangle2D bounds, Element[] srcElems, Dimension[] minSz, Dimension[] maxSz, BridgeContext ctx)
Method Summary
doublecalcDist(double loc, Dimension min, Dimension max)
Rectangle2DgetGeometryBounds()
GraphicsNodegetGraphicsNode(int idx)
ShapegetOutline()
Returns the outline of this node.
Rectangle2DgetPrimitiveBounds()
Returns the bounds of the area covered by this node's primitive paint.
Rectangle2DgetSensitiveBounds()
voidprimitivePaint(Graphics2D g2d)
Paints this node without applying Filter, Mask, Composite, and clip.

Constructor Detail

MultiResGraphicsNode

public MultiResGraphicsNode(Element multiImgElem, Rectangle2D bounds, Element[] srcElems, Dimension[] minSz, Dimension[] maxSz, BridgeContext ctx)

Method Detail

calcDist

public double calcDist(double loc, Dimension min, Dimension max)

getGeometryBounds

public Rectangle2D getGeometryBounds()

getGraphicsNode

public GraphicsNode getGraphicsNode(int idx)

getOutline

public Shape getOutline()
Returns the outline of this node.

getPrimitiveBounds

public Rectangle2D getPrimitiveBounds()
Returns the bounds of the area covered by this node's primitive paint.

getSensitiveBounds

public Rectangle2D getSensitiveBounds()

primitivePaint

public void primitivePaint(Graphics2D g2d)
Paints this node without applying Filter, Mask, Composite, and clip.

Parameters: g2d the Graphics2D to use

Copyright B) 2007 Apache Software Foundation. All Rights Reserved.