org.apache.batik.refimpl.gvt.filter
Class RasterRable

java.lang.Object
  |
  +--org.apache.batik.refimpl.gvt.filter.AbstractRable
        |
        +--org.apache.batik.refimpl.gvt.filter.RasterRable
All Implemented Interfaces:
Filter, java.awt.image.renderable.RenderableImage

public class RasterRable
extends AbstractRable

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


Inner Class Summary
protected  class RasterRable.ImageLoader
           
 
Field Summary
static java.lang.String BASE64
           
 
Fields inherited from class org.apache.batik.refimpl.gvt.filter.AbstractRable
props, srcs, stamp
 
Fields inherited from interface java.awt.image.renderable.RenderableImage
HINTS_OBSERVED
 
Constructor Summary
RasterRable(CachableRed src)
           
RasterRable(java.net.URL url)
           
 
Method Summary
static Filter create(java.lang.String dataUrl, java.awt.geom.Rectangle2D bounds)
           
static Filter create(java.net.URL url, java.awt.geom.Rectangle2D bounds)
           
 java.awt.image.RenderedImage createRendering(java.awt.image.renderable.RenderContext rc)
           
 java.awt.geom.Rectangle2D getBounds2D()
          Returns the bounds of the current image.
 CachableRed getSource()
           
 
Methods inherited from class org.apache.batik.refimpl.gvt.filter.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
 

Field Detail

BASE64

public static final java.lang.String BASE64
Constructor Detail

RasterRable

public RasterRable(CachableRed src)

RasterRable

public RasterRable(java.net.URL url)
Method Detail

getSource

public CachableRed getSource()

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

createRendering

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

create

public static Filter create(java.lang.String dataUrl,
                            java.awt.geom.Rectangle2D bounds)

create

public static Filter create(java.net.URL url,
                            java.awt.geom.Rectangle2D bounds)


Copyright © 2000 Apache Software Foundation. All Rights Reserved.