org.apache.batik.ext.awt.image.rendered
Class FilterAsAlphaRed
java.lang.Object
org.apache.batik.ext.awt.image.rendered.AbstractRed
org.apache.batik.ext.awt.image.rendered.FilterAsAlphaRed
- All Implemented Interfaces:
- RenderedImage, CachableRed
public class FilterAsAlphaRed
- extends AbstractRed
This converts any source into a mask according to the SVG masking rules.
Fields inherited from class org.apache.batik.ext.awt.image.rendered.AbstractRed |
bounds, cm, minTileX, minTileY, numXTiles, numYTiles, props, sm, srcs, tileGridXOff, tileGridYOff, tileHeight, tileWidth |
Constructor Summary |
FilterAsAlphaRed(CachableRed src)
Construct an alpah channel from the given src, according to
the SVG masking rules. |
Methods inherited from class org.apache.batik.ext.awt.image.rendered.AbstractRed |
copyBand, copyToRaster, getBounds, getColorModel, getData, getData, getDependencyRegion, getDirtyRegion, getHeight, getMinTileX, getMinTileY, getMinX, getMinY, getNumXTiles, getNumYTiles, getProperty, getPropertyNames, getSampleModel, getSources, getTile, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, getWidth, getXTile, getYTile, init, init, makeTile, updateTileGridInfo |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilterAsAlphaRed
public FilterAsAlphaRed(CachableRed src)
- Construct an alpah channel from the given src, according to
the SVG masking rules.
- Parameters:
src
- The image to convert to an alpha channel (mask image)
copyData
public WritableRaster copyData(WritableRaster wr)
Copyright © 2008 Apache Software Foundation. All Rights Reserved.