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 int
filterRGB(int x, int y, int rgb)
float
getAngle()
Returns the angle of the texture.float
getFadeStart()
float
getFadeWidth()
boolean
getInvert()
int
getSides()
void
setAngle(float angle)
Specifies the angle of the texture.void
setDimensions(int width, int height)
void
setFadeStart(float fadeStart)
void
setFadeWidth(float fadeWidth)
void
setInvert(boolean invert)
void
setSides(int sides)
float
symmetry(float x, float b)
java.lang.String
toString()
-
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:
setDimensions
in classPointFilter
-
filterRGB
public int filterRGB(int x, int y, int rgb)
- Specified by:
filterRGB
in classPointFilter
-
symmetry
public float symmetry(float x, float b)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-