org.pushingpixels.flamingo.internal.utils
Class ColorShiftFilter

java.lang.Object
  extended by org.pushingpixels.flamingo.internal.utils.AbstractFilter
      extended by org.pushingpixels.flamingo.internal.utils.ColorShiftFilter
All Implemented Interfaces:
java.awt.image.BufferedImageOp

public class ColorShiftFilter
extends AbstractFilter

Image filter that shifts the colors of the original image.


Constructor Summary
ColorShiftFilter(java.awt.Color shiftColor, double shiftAmount)
          Creates a new color shift filter.
 
Method Summary
 java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dst)
           
 
Methods inherited from class org.pushingpixels.flamingo.internal.utils.AbstractFilter
createCompatibleDestImage, getBounds2D, getPixels, getPoint2D, getRenderingHints, setPixels
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorShiftFilter

public ColorShiftFilter(java.awt.Color shiftColor,
                        double shiftAmount)
Creates a new color shift filter.

Parameters:
shiftColor - Shift color.
shiftAmount - Shift amount in 0.0-1.0 range.
Method Detail

filter

public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src,
                                           java.awt.image.BufferedImage dst)