|
||||||||||
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.TransformFilter
railo.runtime.img.filter.SwimFilter
public class SwimFilter
A filter which distorts an image as if it were underwater.
Field Summary |
---|
Fields inherited from class railo.runtime.img.filter.TransformFilter |
---|
BILINEAR, NEAREST_NEIGHBOUR |
Constructor Summary | |
---|---|
SwimFilter()
|
Method Summary | |
---|---|
BufferedImage |
filter(BufferedImage src,
Struct parameters)
|
float |
getAmount()
Get the amount of swim. |
float |
getAngle()
Returns the angle of the effect. |
float |
getScale()
Returns the scale of the distortion. |
float |
getStretch()
Returns the stretch factor of the distortion. |
float |
getTime()
Returns the time. |
float |
getTurbulence()
Returns the turbulence of the effect. |
void |
setAmount(float amount)
Set the amount of swim. |
void |
setAngle(float angle)
Specifies the angle of the effect. |
void |
setScale(float scale)
Specifies the scale of the distortion. |
void |
setStretch(float stretch)
Specifies the stretch factor of the distortion. |
void |
setTime(float time)
Specifies the time. |
void |
setTurbulence(float turbulence)
Specifies the turbulence of the texture. |
String |
toString()
|
Methods inherited from class railo.runtime.img.filter.TransformFilter |
---|
filter, getEdgeAction, getInterpolation, setEdgeAction, setInterpolation |
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 SwimFilter()
Method Detail |
---|
public void setAmount(float amount)
amount
- the amount of swimgetAmount()
public float getAmount()
setAmount(float)
public void setScale(float scale)
scale
- the scale of the distortion.getScale()
public float getScale()
setScale(float)
public void setStretch(float stretch)
stretch
- the stretch factor of the distortion.getStretch()
public float getStretch()
setStretch(float)
public void setAngle(float angle)
angle
- the angle of the effect.getAngle()
public float getAngle()
setAngle(float)
public void setTurbulence(float turbulence)
turbulence
- the turbulence of the texture.getTurbulence()
public float getTurbulence()
setTurbulence(float)
public void setTime(float time)
time
- the time.getTime()
public float getTime()
setTime(float)
public String toString()
toString
in class Object
public BufferedImage filter(BufferedImage src, Struct parameters) throws PageException
filter
in interface DynFiltering
filter
in class TransformFilter
PageException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |