org.apache.batik.ext.awt.image.rendered

Class FilterAsAlphaRed

public class FilterAsAlphaRed extends AbstractRed

This converts any source into a mask according to the SVG masking rules.
Constructor Summary
FilterAsAlphaRed(CachableRed src)
Construct an alpah channel from the given src, according to the SVG masking rules.
Method Summary
WritableRastercopyData(WritableRaster wr)

Constructor Detail

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)

Method Detail

copyData

public WritableRaster copyData(WritableRaster wr)
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.