Class FilterAsAlphaRed

  • All Implemented Interfaces:
    java.awt.image.RenderedImage, CachableRed

    public class FilterAsAlphaRed
    extends AbstractRed
    This converts any source into a mask according to the SVG masking rules.
    • 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 java.awt.image.WritableRaster copyData​(java.awt.image.WritableRaster wr)