|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jhlabs.image.AbstractBufferedImageOp
com.jhlabs.image.HalftoneFilter
public class HalftoneFilter
A filter which uses a another image as a ask to produce a halftoning effect.
| Constructor Summary | |
|---|---|
HalftoneFilter()
|
|
| Method Summary | |
|---|---|
BufferedImage |
filter(BufferedImage src,
BufferedImage dst)
|
boolean |
getInvert()
|
BufferedImage |
getMask()
Get the halftone mask. |
boolean |
getMonochrome()
Get whether to do monochrome halftoning. |
float |
getSoftness()
Get the softness of the effect. |
void |
setInvert(boolean invert)
|
void |
setMask(BufferedImage mask)
Set the halftone mask. |
void |
setMonochrome(boolean monochrome)
Set whether to do monochrome halftoning. |
void |
setSoftness(float softness)
Set the softness of the effect in the range 0..1. |
String |
toString()
|
| Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp |
|---|
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HalftoneFilter()
| Method Detail |
|---|
public void setSoftness(float softness)
softness - the softnessgetSoftness()public float getSoftness()
setSoftness(float)public void setMask(BufferedImage mask)
mask - the maskgetMask()public BufferedImage getMask()
setMask(java.awt.image.BufferedImage)public void setInvert(boolean invert)
public boolean getInvert()
public void setMonochrome(boolean monochrome)
monochrome - true for monochrome halftoninggetMonochrome()public boolean getMonochrome()
setMonochrome(boolean)
public BufferedImage filter(BufferedImage src,
BufferedImage dst)
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||