public class FadeFilter extends PointFilter
Modifier and Type | Field and Description |
---|---|
private float |
angle |
private float |
fadeStart |
private float |
fadeWidth |
private int |
height |
private boolean |
invert |
private float |
m00 |
private float |
m01 |
private float |
m10 |
private float |
m11 |
private int |
sides |
private int |
width |
canFilterIndexColorModel
Constructor and Description |
---|
FadeFilter() |
Modifier and Type | Method and 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) |
String |
toString() |
filter
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
private int width
private int height
private float angle
private float fadeStart
private float fadeWidth
private int sides
private boolean invert
private float m00
private float m01
private float m10
private float m11
public FadeFilter()
public void setAngle(float angle)
angle
- the angle of the texture.getAngle()
public float getAngle()
setAngle(float)
public void setSides(int sides)
public int getSides()
public void setFadeStart(float fadeStart)
public float getFadeStart()
public void setFadeWidth(float fadeWidth)
public float getFadeWidth()
public void setInvert(boolean invert)
public boolean getInvert()
public void setDimensions(int width, int height)
setDimensions
in class PointFilter
public int filterRGB(int x, int y, int rgb)
filterRGB
in class PointFilter
public float symmetry(float x, float b)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses