public class DiffusionFilter extends WholeImageFilter
| Modifier and Type | Field and Description |
|---|---|
protected static int[] |
diffusionMatrix |
int |
levels |
canFilterIndexColorModel, defaultRGBModel, inBytePixels, inPixels, originalSpace, transformedSpace| Constructor and Description |
|---|
DiffusionFilter()
Construct a DiffusionFilter
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getColorDither() |
int |
getLevels() |
int[] |
getMatrix() |
boolean |
getSerpentine()
Return the serpentine setting
|
void |
imageComplete(int status) |
void |
setColorDither(boolean colorDither) |
void |
setLevels(int levels) |
void |
setMatrix(int[] matrix) |
void |
setSerpentine(boolean serpentine)
Set whether to use a serpentine pattern for return or not.
|
java.lang.String |
toString() |
getTransformedSpace, setColorModel, setDimensions, setPixels, setPixels, transformSpacepublic void setSerpentine(boolean serpentine)
serpentine - true to use serpentine patternpublic boolean getSerpentine()
public void setColorDither(boolean colorDither)
public boolean getColorDither()
public void setMatrix(int[] matrix)
public int[] getMatrix()
public void setLevels(int levels)
public int getLevels()
public void imageComplete(int status)
imageComplete in interface java.awt.image.ImageConsumerimageComplete in class java.awt.image.ImageFilterpublic java.lang.String toString()
toString in class java.lang.Object