public class SaturationFilter extends PointFilter implements DynFiltering
Modifier and Type | Field and Description |
---|---|
float |
amount |
Constructor and Description |
---|
SaturationFilter()
Construct a SaturationFilter.
|
SaturationFilter(float amount)
Construct a SaturationFilter.
|
Modifier and Type | Method and Description |
---|---|
BufferedImage |
filter(BufferedImage src,
Struct parameters) |
int |
filterRGB(int x,
int y,
int rgb) |
float |
getAmount()
Set the amount of saturation change.
|
void |
setAmount(float amount)
Set the amount of saturation change.
|
String |
toString() |
filter, setDimensions
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
public float amount
public SaturationFilter()
public SaturationFilter(float amount)
public void setAmount(float amount)
amount
- the amountpublic float getAmount()
public int filterRGB(int x, int y, int rgb)
filterRGB
in class PointFilter
public BufferedImage filter(BufferedImage src, Struct parameters) throws PageException
filter
in interface DynFiltering
filter
in class PointFilter
PageException
Copyright © 2015 Lucee