Class MultiResGraphicsNode

java.lang.Object
io.sf.carte.echosvg.gvt.AbstractGraphicsNode
io.sf.carte.echosvg.bridge.MultiResGraphicsNode
All Implemented Interfaces:
XMLConstants, GraphicsNode, CSSConstants, SVGConstants

public class MultiResGraphicsNode extends AbstractGraphicsNode implements SVGConstants
RasterRable This is used to wrap a Rendered Image back into the RenderableImage world.
  • Constructor Details

  • Method Details

    • primitivePaint

      public void primitivePaint(Graphics2D g2d)
      Paints this node without applying Filter, Mask, Composite, and clip.
      Specified by:
      primitivePaint in interface GraphicsNode
      Parameters:
      g2d - the Graphics2D to use
    • calcDist

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

      public Rectangle2D getPrimitiveBounds()
      Returns the bounds of the area covered by this node's primitive paint.
      Specified by:
      getPrimitiveBounds in interface GraphicsNode
    • getGeometryBounds

      public Rectangle2D getGeometryBounds()
      Description copied from interface: GraphicsNode
      Returns the bounds of the area covered by this node, without taking any of its rendering attribute into account. That is, exclusive of any clipping, masking, filtering or stroking, for example.
      Specified by:
      getGeometryBounds in interface GraphicsNode
    • getSensitiveBounds

      public Rectangle2D getSensitiveBounds()
      Description copied from interface: GraphicsNode
      Returns the bounds of the sensitive area covered by this node, This includes the stroked area but does not include the effects of clipping, masking or filtering.
      Specified by:
      getSensitiveBounds in interface GraphicsNode
    • getOutline

      public Shape getOutline()
      Returns the outline of this node.
      Specified by:
      getOutline in interface GraphicsNode
    • getGraphicsNode

      public GraphicsNode getGraphicsNode(int idx)