|
||||||||||
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.MarbleFilter
public class MarbleFilter
This filter applies a marbling effect to an image, displacing pixels by random amounts.
Field Summary |
---|
Fields inherited from class railo.runtime.img.filter.TransformFilter |
---|
BILINEAR, NEAREST_NEIGHBOUR |
Constructor Summary | |
---|---|
MarbleFilter()
|
Method Summary | |
---|---|
BufferedImage |
filter(BufferedImage src,
BufferedImage dst)
|
BufferedImage |
filter(BufferedImage src,
Struct parameters)
|
float |
getAmount()
Get the amount of effect. |
float |
getTurbulence()
Returns the turbulence of the effect. |
float |
getXScale()
Get the X scale of the effect. |
float |
getYScale()
Get the Y scale of the effect. |
void |
setAmount(float amount)
Set the amount of effect. |
void |
setTurbulence(float turbulence)
Specifies the turbulence of the effect. |
void |
setXScale(float xScale)
Set the X scale of the effect. |
void |
setYScale(float yScale)
Set the Y scale of the effect. |
String |
toString()
|
Methods inherited from class railo.runtime.img.filter.TransformFilter |
---|
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 MarbleFilter()
Method Detail |
---|
public void setXScale(float xScale)
xScale
- the scale.getXScale()
public float getXScale()
setXScale(float)
public void setYScale(float yScale)
yScale
- the scale.getYScale()
public float getYScale()
setYScale(float)
public void setAmount(float amount)
amount
- the amountgetAmount()
public float getAmount()
setAmount(float)
public void setTurbulence(float turbulence)
turbulence
- the turbulence of the effect.getTurbulence()
public float getTurbulence()
setTurbulence(float)
public BufferedImage filter(BufferedImage src, BufferedImage dst)
filter
in interface BufferedImageOp
filter
in class TransformFilter
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 |