Package com.jhlabs.image
Class WoodFilter
- java.lang.Object
-
- com.jhlabs.image.AbstractBufferedImageOp
-
- com.jhlabs.image.PointFilter
-
- com.jhlabs.image.WoodFilter
-
- All Implemented Interfaces:
java.awt.image.BufferedImageOp,java.lang.Cloneable
public class WoodFilter extends PointFilter
-
-
Field Summary
Fields Modifier and Type Field Description floatfibresfloatgainfloatringsfloatturbulence-
Fields inherited from class com.jhlabs.image.PointFilter
canFilterIndexColorModel
-
-
Constructor Summary
Constructors Constructor Description WoodFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intfilterRGB(int x, int y, int rgb)floatgetAngle()ColormapgetColormap()floatgetFibres()Function2DgetFunction()floatgetGain()floatgetRings()floatgetScale()floatgetStretch()floatgetTurbulence()voidsetAngle(float angle)voidsetColormap(Colormap colormap)voidsetFibres(float fibres)voidsetFunction(Function2D function)voidsetgain(float gain)voidsetRings(float rings)voidsetScale(float scale)voidsetStretch(float stretch)voidsetTurbulence(float turbulence)java.lang.StringtoString()-
Methods inherited from class com.jhlabs.image.PointFilter
filter, setDimensions
-
Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
-
-
-
-
Method Detail
-
setRings
public void setRings(float rings)
-
getRings
public float getRings()
-
setFunction
public void setFunction(Function2D function)
-
getFunction
public Function2D getFunction()
-
setScale
public void setScale(float scale)
-
getScale
public float getScale()
-
setStretch
public void setStretch(float stretch)
-
getStretch
public float getStretch()
-
setAngle
public void setAngle(float angle)
-
getAngle
public float getAngle()
-
setTurbulence
public void setTurbulence(float turbulence)
-
getTurbulence
public float getTurbulence()
-
setFibres
public void setFibres(float fibres)
-
getFibres
public float getFibres()
-
setgain
public void setgain(float gain)
-
getGain
public float getGain()
-
setColormap
public void setColormap(Colormap colormap)
-
getColormap
public Colormap getColormap()
-
filterRGB
public int filterRGB(int x, int y, int rgb)- Specified by:
filterRGBin classPointFilter
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-