org.apache.batik.extension.svg.renderable
Class MultiResRable

java.lang.Object
  |
  +--org.apache.batik.ext.awt.image.renderable.AbstractRable
        |
        +--org.apache.batik.extension.svg.renderable.MultiResRable
All Implemented Interfaces:
Filter, java.awt.image.renderable.RenderableImage

public class MultiResRable
extends AbstractRable

RasterRable This is used to wrap a Rendered Image back into the RenderableImage world.


Fields inherited from class org.apache.batik.ext.awt.image.renderable.AbstractRable
props, srcs, stamp
 
Fields inherited from interface java.awt.image.renderable.RenderableImage
HINTS_OBSERVED
 
Constructor Summary
MultiResRable(ParsedURL[] srcURLs, java.awt.Dimension[] sizes)
           
 
Method Summary
 java.awt.image.RenderedImage createRendering(java.awt.image.renderable.RenderContext rc)
           
 java.awt.geom.Rectangle2D getBounds2D()
          Returns the bounds of the current image.
 java.awt.image.RenderedImage getImage(int idx, java.awt.image.renderable.RenderContext rc)
           
 
Methods inherited from class org.apache.batik.ext.awt.image.renderable.AbstractRable
createDefaultRendering, createScaledRendering, getDependencyRegion, getDirtyRegion, getHeight, getMinX, getMinY, getProperty, getPropertyNames, getSources, getTimeStamp, getWidth, init, init, init, init, isDynamic, touch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiResRable

public MultiResRable(ParsedURL[] srcURLs,
                     java.awt.Dimension[] sizes)
Method Detail

getBounds2D

public java.awt.geom.Rectangle2D getBounds2D()
Description copied from interface: Filter
Returns the bounds of the current image. This should be 'in sync' with getMinX, getMinY, getWidth, getHeight
Overrides:
getBounds2D in class AbstractRable

getImage

public java.awt.image.RenderedImage getImage(int idx,
                                             java.awt.image.renderable.RenderContext rc)

createRendering

public java.awt.image.RenderedImage createRendering(java.awt.image.renderable.RenderContext rc)


Copyright © 2002 Apache Software Foundation. All Rights Reserved.