Package com.jhlabs.image
Class SmearFilter
java.lang.Object
com.jhlabs.image.AbstractBufferedImageOp
com.jhlabs.image.WholeImageFilter
com.jhlabs.image.SmearFilter
- All Implemented Interfaces:
BufferedImageOp
,Serializable
,Cloneable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
Fields inherited from class com.jhlabs.image.WholeImageFilter
originalSpace, transformedSpace
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected int[]
filterPixels
(int width, int height, int[] inPixels, Rectangle transformedSpace) float
getAngle()
boolean
float
int
int
float
getMix()
float
int
getShape()
void
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) toString()
Methods inherited from class com.jhlabs.image.WholeImageFilter
filter, transformSpace
Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
-
Field Details
-
CROSSES
public static final int CROSSES- See Also:
-
LINES
public static final int LINES- See Also:
-
CIRCLES
public static final int CIRCLES- See Also:
-
SQUARES
public static final int SQUARES- See Also:
-
-
Constructor Details
-
SmearFilter
public SmearFilter()
-
-
Method Details
-
setShape
public void setShape(int shape) -
getShape
public int getShape() -
setDistance
public void setDistance(int distance) -
getDistance
public int getDistance() -
setDensity
public void setDensity(float density) -
getDensity
public float getDensity() -
setScatter
public void setScatter(float scatter) -
getScatter
public float getScatter() -
setAngle
public void setAngle(float angle) -
getAngle
public float getAngle() -
setMix
public void setMix(float mix) -
getMix
public float getMix() -
setFadeout
public void setFadeout(int fadeout) -
getFadeout
public int getFadeout() -
setBackground
public void setBackground(boolean background) -
getBackground
public boolean getBackground() -
randomize
public void randomize() -
filterPixels
- Specified by:
filterPixels
in classWholeImageFilter
-
toString
-