Class GhostButton.FadeImageFilter

java.lang.Object
java.awt.image.ImageFilter
java.awt.image.RGBImageFilter
noaa.coastwatch.gui.GhostButton.FadeImageFilter
All Implemented Interfaces:
ImageConsumer, Cloneable
Enclosing class:
GhostButton

public static class GhostButton.FadeImageFilter extends RGBImageFilter
The FadeImageFilter converts normal color pixels to either brigher or darker versions using a fade factor.
  • Constructor Details

    • FadeImageFilter

      public FadeImageFilter(double factor)
      Creates a new fade filter using the specified factor. The factor is multiplied by each pixel color component to compute the new component value.
      Parameters:
      factor - the multiplicative fade factor.
  • Method Details