|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.img.filter.AbstractBufferedImageOp
railo.runtime.img.filter.PointFilter
railo.runtime.img.filter.TransferFilter
railo.runtime.img.filter.GammaFilter
public class GammaFilter
A filter for changing the gamma of an image.
Constructor Summary | |
---|---|
GammaFilter()
Construct a GammaFilter. |
|
GammaFilter(float gamma)
Construct a GammaFilter. |
|
GammaFilter(float rGamma,
float gGamma,
float bGamma)
Construct a GammaFilter. |
Method Summary | |
---|---|
BufferedImage |
filter(BufferedImage src,
Struct parameters)
|
float |
getGamma()
Get the gamma level. |
void |
setGamma(float gamma)
Set the gamma level. |
void |
setGamma(float rGamma,
float gGamma,
float bGamma)
Set the gamma levels. |
String |
toString()
|
Methods inherited from class railo.runtime.img.filter.TransferFilter |
---|
filter, filterRGB, getLUT |
Methods inherited from class railo.runtime.img.filter.PointFilter |
---|
setDimensions |
Methods inherited from class railo.runtime.img.filter.AbstractBufferedImageOp |
---|
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GammaFilter()
public GammaFilter(float gamma)
gamma
- the gamma level for all RGB channelspublic GammaFilter(float rGamma, float gGamma, float bGamma)
rGamma
- the gamma level for the red channelgGamma
- the gamma level for the blue channelbGamma
- the gamma level for the green channelMethod Detail |
---|
public void setGamma(float rGamma, float gGamma, float bGamma)
rGamma
- the gamma level for the red channelgGamma
- the gamma level for the blue channelbGamma
- the gamma level for the green channelgetGamma()
public void setGamma(float gamma)
gamma
- the gamma level for all RGB channelsgetGamma()
public float getGamma()
setGamma(float, float, float)
public String toString()
toString
in class Object
public BufferedImage filter(BufferedImage src, Struct parameters) throws PageException
filter
in interface DynFiltering
filter
in class TransferFilter
PageException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |