org.apache.batik.ext.awt.image.renderable
Class FilterAsAlphaRable

java.lang.Object
  extended by org.apache.batik.ext.awt.image.renderable.AbstractRable
      extended by org.apache.batik.ext.awt.image.renderable.FilterAsAlphaRable
All Implemented Interfaces:
RenderableImage, Filter

public class FilterAsAlphaRable
extends AbstractRable

FilterAsAlphaRable implementation. This will take any source Filter and convert it to an alpha channel according the the SVG Mask operation.


Field Summary
 
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
FilterAsAlphaRable(Filter src)
           
 
Method Summary
 RenderedImage createRendering(RenderContext rc)
           
 Rectangle2D getBounds2D()
          Pass-through: returns the source's bounds
 Filter getSource()
           
 
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

FilterAsAlphaRable

public FilterAsAlphaRable(Filter src)
Method Detail

getSource

public Filter getSource()

getBounds2D

public Rectangle2D getBounds2D()
Pass-through: returns the source's bounds

Specified by:
getBounds2D in interface Filter
Overrides:
getBounds2D in class AbstractRable

createRendering

public RenderedImage createRendering(RenderContext rc)


Copyright © 2008 Apache Software Foundation. All Rights Reserved.