Class FilterAsAlphaRable
- java.lang.Object
-
- org.apache.batik.ext.awt.image.renderable.AbstractRable
-
- org.apache.batik.ext.awt.image.renderable.FilterAsAlphaRable
-
- All Implemented Interfaces:
java.awt.image.renderable.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.- Version:
- $Id: FilterAsAlphaRable.java 1733416 2016-03-03 07:07:13Z gadams $
-
-
Field Summary
-
Fields inherited from class org.apache.batik.ext.awt.image.renderable.AbstractRable
props, srcs, stamp
-
-
Constructor Summary
Constructors Constructor Description FilterAsAlphaRable(Filter src)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.image.RenderedImage
createRendering(java.awt.image.renderable.RenderContext rc)
java.awt.geom.Rectangle2D
getBounds2D()
Pass-through: returns the source's boundsFilter
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
-
-
-
-
Constructor Detail
-
FilterAsAlphaRable
public FilterAsAlphaRable(Filter src)
-
-
Method Detail
-
getSource
public Filter getSource()
-
getBounds2D
public java.awt.geom.Rectangle2D getBounds2D()
Pass-through: returns the source's bounds- Specified by:
getBounds2D
in interfaceFilter
- Overrides:
getBounds2D
in classAbstractRable
-
createRendering
public java.awt.image.RenderedImage createRendering(java.awt.image.renderable.RenderContext rc)
-
-