Class MultiplyAlphaRed

java.lang.Object
org.apache.batik.ext.awt.image.rendered.AbstractRed
org.apache.batik.ext.awt.image.rendered.MultiplyAlphaRed
All Implemented Interfaces:
RenderedImage, CachableRed

public class MultiplyAlphaRed extends AbstractRed
This implements a masking operation by multiply the alpha channel of one image by a luminance image (the mask).
  • Constructor Details

    • MultiplyAlphaRed

      public MultiplyAlphaRed(CachableRed src, CachableRed alpha)
      Multiply the alpha of one image with a mask image. The size of the resultant image is the intersection of the two image bounds. If you want the end image to be the size of one or the other please use the PadRed operator.
      Parameters:
      src - The image to convert to multiply the alpha of
      alpha - The mask image to multiply the alpha channel of src with.
  • Method Details