public class StampFilter extends PointFilter
Modifier and Type | Field and Description |
---|---|
protected float |
radius |
canFilterIndexColorModel
Constructor and Description |
---|
StampFilter() |
StampFilter(float threshold) |
Modifier and Type | Method and Description |
---|---|
java.awt.image.BufferedImage |
filter(java.awt.image.BufferedImage src,
java.awt.image.BufferedImage dst) |
int |
filterRGB(int x,
int y,
int rgb) |
int |
getBlack() |
float |
getRadius() |
float |
getSoftness() |
float |
getThreshold() |
int |
getWhite() |
void |
setBlack(int black) |
void |
setRadius(float radius) |
void |
setSoftness(float softness) |
void |
setThreshold(float threshold) |
void |
setWhite(int white) |
java.lang.String |
toString() |
setDimensions
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
public void setRadius(float radius)
public float getRadius()
public void setThreshold(float threshold)
public float getThreshold()
public void setSoftness(float softness)
public float getSoftness()
public void setWhite(int white)
public int getWhite()
public void setBlack(int black)
public int getBlack()
public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dst)
filter
in interface java.awt.image.BufferedImageOp
filter
in class PointFilter
public int filterRGB(int x, int y, int rgb)
filterRGB
in class PointFilter
public java.lang.String toString()
toString
in class java.lang.Object