BufferedImageOp
public class ColorShiftFilter extends AbstractFilter
Constructor | Description |
---|---|
ColorShiftFilter(Color shiftColor,
double shiftAmount) |
Creates a new color shift filter.
|
Modifier and Type | Method | Description |
---|---|---|
BufferedImage |
filter(BufferedImage src,
BufferedImage dst) |
createCompatibleDestImage, getBounds2D, getPixels, getPoint2D, getRenderingHints, setPixels
public ColorShiftFilter(Color shiftColor, double shiftAmount)
shiftColor
- Shift color.shiftAmount
- Shift amount in 0.0-1.0 range.public BufferedImage filter(BufferedImage src, BufferedImage dst)