org.apache.batik.ext.awt.image.renderable
Class FilterAlphaRable
java.lang.Object
org.apache.batik.ext.awt.image.renderable.AbstractRable
org.apache.batik.ext.awt.image.renderable.FilterAlphaRable
- All Implemented Interfaces:
- RenderableImage, Filter
public class FilterAlphaRable
- extends AbstractRable
FilterAlphaRable implementation.
This will take any source Filter and convert it to an alpha channel
image according to the SVG SourceAlpha Filter description.
This sets RGB to black and Alpha to the source image's alpha channel.
- Version:
- $Id: FilterAlphaRable.java 1733416 2016-03-03 07:07:13Z gadams $
- Author:
- Thomas DeWeese
| 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 |
FilterAlphaRable
public FilterAlphaRable(Filter src)
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 © 2000–2017 Apache Software Foundation. All rights reserved.