Class ColorShiftFilter
- java.lang.Object
-
- org.pushingpixels.flamingo.internal.utils.AbstractFilter
-
- org.pushingpixels.flamingo.internal.utils.ColorShiftFilter
-
- All Implemented Interfaces:
BufferedImageOp
public class ColorShiftFilter extends AbstractFilter
Image filter that shifts the colors of the original image.
-
-
Constructor Summary
Constructors Constructor Description ColorShiftFilter(Color shiftColor, double shiftAmount)
Creates a new color shift filter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BufferedImage
filter(BufferedImage src, BufferedImage dst)
-
Methods inherited from class org.pushingpixels.flamingo.internal.utils.AbstractFilter
createCompatibleDestImage, getBounds2D, getPixels, getPoint2D, getRenderingHints, setPixels
-
-
-
-
Constructor Detail
-
ColorShiftFilter
public ColorShiftFilter(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 BufferedImage filter(BufferedImage src, BufferedImage dst)
-
-