com.jhlabs.image
Class MarbleFilter
java.lang.Object
com.jhlabs.image.AbstractBufferedImageOp
com.jhlabs.image.TransformFilter
com.jhlabs.image.MarbleFilter
- All Implemented Interfaces:
- ImageProcessorInterface, java.awt.image.BufferedImageOp, java.lang.Cloneable
public class MarbleFilter
- extends TransformFilter
This filter applies a marbling effect to an image, displacing pixels by random amounts.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
sinTable
public float[] sinTable
cosTable
public float[] cosTable
xScale
public float xScale
yScale
public float yScale
amount
public float amount
turbulence
public float turbulence
MarbleFilter
public MarbleFilter()
setXScale
public void setXScale(float xScale)
getXScale
public float getXScale()
setYScale
public void setYScale(float yScale)
getYScale
public float getYScale()
setAmount
public void setAmount(float amount)
getAmount
public float getAmount()
setTurbulence
public void setTurbulence(float turbulence)
getTurbulence
public float getTurbulence()
filter
public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src,
java.awt.image.BufferedImage dst)
- Specified by:
filter
in interface java.awt.image.BufferedImageOp
- Overrides:
filter
in class TransformFilter
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object