com.jhlabs.image
Class TextureFilter
- BufferedImageOp, Cloneable
public class TextureFilter
amount
public float amount
operation
public int operation
turbulence
public float turbulence
TextureFilter
public TextureFilter()
getAmount
public float getAmount()
Get the amount of texture.
getAngle
public float getAngle()
Returns the angle of the texture.
- the angle of the texture.
getColormap
public Colormap getColormap()
Get the colormap to be used for the filter.
getOperation
public int getOperation()
getScale
public float getScale()
Returns the scale of the texture.
- the scale of the texture.
getStretch
public float getStretch()
Returns the stretch factor of the texture.
- the stretch factor of the texture.
getTurbulence
public float getTurbulence()
Returns the turbulence of the texture.
- the turbulence of the texture.
setAmount
public void setAmount(float amount)
Set the amount of texture.
setAngle
public void setAngle(float angle)
Specifies the angle of the texture.
angle
- the angle of the texture.
setColormap
public void setColormap(Colormap colormap)
Set the colormap to be used for the filter.
setFunction
public void setFunction(Function2D function)
setOperation
public void setOperation(int operation)
setScale
public void setScale(float scale)
Specifies the scale of the texture.
scale
- the scale of the texture.
setStretch
public void setStretch(float stretch)
Specifies the stretch factor of the texture.
stretch
- the stretch factor of the texture.
setTurbulence
public void setTurbulence(float turbulence)
Specifies the turbulence of the texture.
turbulence
- the turbulence of the texture.
toString
public String toString()