Class AlphaImageFilter

  • All Implemented Interfaces:
    java.awt.image.ImageConsumer, java.lang.Cloneable

    public class AlphaImageFilter
    extends java.awt.image.RGBImageFilter
    An image filter creating transparent images.
    • Field Summary

      • Fields inherited from class java.awt.image.RGBImageFilter

        canFilterIndexColorModel, newmodel, origmodel
      • Fields inherited from class java.awt.image.ImageFilter

        consumer
      • Fields inherited from interface java.awt.image.ImageConsumer

        COMPLETESCANLINES, IMAGEABORTED, IMAGEERROR, RANDOMPIXELORDER, SINGLEFRAME, SINGLEFRAMEDONE, SINGLEPASS, STATICIMAGEDONE, TOPDOWNLEFTRIGHT
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @NotNull AlphaImageFilter clone()  
      int filterRGB​(int x, int y, int rgb)
      Converts a pixel by increasing the transparency.
      • Methods inherited from class java.awt.image.RGBImageFilter

        filterIndexColorModel, filterRGBPixels, setColorModel, setPixels, setPixels, substituteColorModel
      • Methods inherited from class java.awt.image.ImageFilter

        getFilterInstance, imageComplete, resendTopDownLeftRight, setDimensions, setHints, setProperties
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AlphaImageFilter

        public AlphaImageFilter()
    • Method Detail

      • filterRGB

        public int filterRGB​(int x,
                             int y,
                             int rgb)
        Converts a pixel by increasing the transparency.
        Specified by:
        filterRGB in class java.awt.image.RGBImageFilter
      • clone

        @NotNull
        public @NotNull AlphaImageFilter clone()
        Overrides:
        clone in class java.awt.image.ImageFilter