railo.runtime.img.filter
Class SmearFilter
java.lang.Object
railo.runtime.img.filter.AbstractBufferedImageOp
railo.runtime.img.filter.WholeImageFilter
railo.runtime.img.filter.SmearFilter
- All Implemented Interfaces:
- BufferedImageOp, Cloneable, DynFiltering
public class SmearFilter
- extends WholeImageFilter
- implements DynFiltering
CROSSES
public static final int CROSSES
- See Also:
- Constant Field Values
LINES
public static final int LINES
- See Also:
- Constant Field Values
CIRCLES
public static final int CIRCLES
- See Also:
- Constant Field Values
SQUARES
public static final int SQUARES
- See Also:
- Constant Field Values
SmearFilter
public SmearFilter()
setShape
public void setShape(int shape)
getShape
public int getShape()
setDistance
public void setDistance(int distance)
getDistance
public int getDistance()
setDensity
public void setDensity(float density)
getDensity
public float getDensity()
setScatter
public void setScatter(float scatter)
getScatter
public float getScatter()
setAngle
public void setAngle(float angle)
- Specifies the angle of the texture.
- Parameters:
angle
- the angle of the texture.- See Also:
getAngle()
getAngle
public float getAngle()
- Returns the angle of the texture.
- Returns:
- the angle of the texture.
- See Also:
setAngle(float)
setMix
public void setMix(float mix)
getMix
public float getMix()
setFadeout
public void setFadeout(int fadeout)
getFadeout
public int getFadeout()
setBackground
public void setBackground(boolean background)
getBackground
public boolean getBackground()
randomize
public void randomize()
toString
public String toString()
- Overrides:
toString
in class Object
filter
public BufferedImage filter(BufferedImage src,
Struct parameters)
throws PageException
- Specified by:
filter
in interface DynFiltering
- Overrides:
filter
in class WholeImageFilter
- Throws:
PageException
Copyright © 2012 Railo