public class SmearFilter extends WholeImageFilter implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static int |
CIRCLES |
static int |
CROSSES |
static int |
LINES |
static int |
SQUARES |
originalSpace, transformedSpace
Constructor and Description |
---|
SmearFilter() |
Modifier and Type | Method and Description |
---|---|
protected int[] |
filterPixels(int width,
int height,
int[] inPixels,
java.awt.Rectangle transformedSpace) |
float |
getAngle() |
boolean |
getBackground() |
float |
getDensity() |
int |
getDistance() |
int |
getFadeout() |
float |
getMix() |
float |
getScatter() |
int |
getShape() |
void |
randomize() |
void |
setAngle(float angle) |
void |
setBackground(boolean background) |
void |
setDensity(float density) |
void |
setDistance(int distance) |
void |
setFadeout(int fadeout) |
void |
setMix(float mix) |
void |
setScatter(float scatter) |
void |
setShape(int shape) |
java.lang.String |
toString() |
filter, transformSpace
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
public static final int CROSSES
public static final int LINES
public static final int CIRCLES
public static final int SQUARES
public void setShape(int shape)
public int getShape()
public void setDistance(int distance)
public int getDistance()
public void setDensity(float density)
public float getDensity()
public void setScatter(float scatter)
public float getScatter()
public void setAngle(float angle)
public float getAngle()
public void setMix(float mix)
public float getMix()
public void setFadeout(int fadeout)
public int getFadeout()
public void setBackground(boolean background)
public boolean getBackground()
public void randomize()
protected int[] filterPixels(int width, int height, int[] inPixels, java.awt.Rectangle transformedSpace)
filterPixels
in class WholeImageFilter
public java.lang.String toString()
toString
in class java.lang.Object