com.jhlabs.image

Class FadeFilter

Implemented Interfaces:
BufferedImageOp, Cloneable

public class FadeFilter
extends PointFilter

Field Summary

Fields inherited from class com.jhlabs.image.PointFilter

canFilterIndexColorModel

Method Summary

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)
String
toString()

Methods inherited from class com.jhlabs.image.PointFilter

filter, filterRGB, setDimensions

Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp

clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRGB, getRenderingHints, setRGB

Method Details

filterRGB

public int filterRGB(int x,
                     int y,
                     int rgb)
Overrides:
filterRGB in interface PointFilter

getAngle

public float getAngle()
Returns the angle of the texture.
Returns:
the angle of the texture.

getFadeStart

public float getFadeStart()

getFadeWidth

public float getFadeWidth()

getInvert

public boolean getInvert()

getSides

public int getSides()

setAngle

public void setAngle(float angle)
Specifies the angle of the texture.
Parameters:
angle - the angle of the texture.

setDimensions

public void setDimensions(int width,
                          int height)
Overrides:
setDimensions in interface PointFilter

setFadeStart

public void setFadeStart(float fadeStart)

setFadeWidth

public void setFadeWidth(float fadeWidth)

setInvert

public void setInvert(boolean invert)

setSides

public void setSides(int sides)

symmetry

public float symmetry(float x,
                      float b)

toString

public String toString()