Package com.jhlabs.image
Class FadeFilter
- java.lang.Object
-
- com.jhlabs.image.AbstractBufferedImageOp
-
- com.jhlabs.image.PointFilter
-
- com.jhlabs.image.FadeFilter
-
- All Implemented Interfaces:
java.awt.image.BufferedImageOp,java.lang.Cloneable
public class FadeFilter extends PointFilter
-
-
Field Summary
-
Fields inherited from class com.jhlabs.image.PointFilter
canFilterIndexColorModel
-
-
Constructor Summary
Constructors Constructor Description FadeFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intfilterRGB(int x, int y, int rgb)floatgetAngle()Returns the angle of the texture.floatgetFadeStart()floatgetFadeWidth()booleangetInvert()intgetSides()voidsetAngle(float angle)Specifies the angle of the texture.voidsetDimensions(int width, int height)voidsetFadeStart(float fadeStart)voidsetFadeWidth(float fadeWidth)voidsetInvert(boolean invert)voidsetSides(int sides)floatsymmetry(float x, float b)java.lang.StringtoString()-
Methods inherited from class com.jhlabs.image.PointFilter
filter
-
Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB, stringToColor
-
-
-
-
Method Detail
-
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)
-
setSides
public void setSides(int sides)
-
getSides
public int getSides()
-
setFadeStart
public void setFadeStart(float fadeStart)
-
getFadeStart
public float getFadeStart()
-
setFadeWidth
public void setFadeWidth(float fadeWidth)
-
getFadeWidth
public float getFadeWidth()
-
setInvert
public void setInvert(boolean invert)
-
getInvert
public boolean getInvert()
-
setDimensions
public void setDimensions(int width, int height)- Overrides:
setDimensionsin classPointFilter
-
filterRGB
public int filterRGB(int x, int y, int rgb)- Specified by:
filterRGBin classPointFilter
-
symmetry
public float symmetry(float x, float b)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-