Package com.jhlabs.image
Class FadeFilter
java.lang.Object
com.jhlabs.image.AbstractBufferedImageOp
com.jhlabs.image.PointFilter
com.jhlabs.image.FadeFilter
- All Implemented Interfaces:
BufferedImageOp,Cloneable
-
Field Summary
Fields inherited from class com.jhlabs.image.PointFilter
canFilterIndexColorModel -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintfilterRGB(int x, int y, int rgb) floatgetAngle()Returns the angle of the texture.floatfloatbooleanintgetSides()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) toString()Methods inherited from class com.jhlabs.image.PointFilter
filterMethods inherited from class com.jhlabs.image.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
-
Constructor Details
-
FadeFilter
public FadeFilter()
-
-
Method Details
-
setAngle
public void setAngle(float angle) Specifies the angle of the texture.- Parameters:
angle- the angle of the texture.- See Also:
-
getAngle
public float getAngle()Returns the angle of the texture.- Returns:
- the angle of the texture.
- See Also:
-
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
-