public class SaturationFilter extends PointFilter
Modifier and Type | Field and Description |
---|---|
float |
amount |
canFilterIndexColorModel
filterListener
Constructor and Description |
---|
SaturationFilter()
Construct a SaturationFilter.
|
SaturationFilter(float amount)
Construct a SaturationFilter.
|
Modifier and Type | Method and Description |
---|---|
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, createCompatibleDestImage, filterDone, filterInitialize, filterProgress, filterStart, getBounds2D, getMetaData, getPoint2D, getRenderingHints, getRGB, setFilterListener, setRGB
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
Copyright © 2012-2013 Bambi Software Foundation. All Rights Reserved.