j2d.filters
Class DitherFilter
java.lang.Object
j2d.filters.AbstractBufferedImageOp
j2d.filters.PointFilter
j2d.filters.DitherFilter
- All Implemented Interfaces:
- ImageProcessorInterface, java.awt.image.BufferedImageOp, java.io.Serializable, java.lang.Cloneable
public class DitherFilter
- extends PointFilter
- implements java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ditherOrdered4x4Matrix
public static final int[] ditherOrdered4x4Matrix
ditherLines4x4Matrix
public static final int[] ditherLines4x4Matrix
dither90Halftone6x6Matrix
public static final int[] dither90Halftone6x6Matrix
ditherOrdered6x6Matrix
public static final int[] ditherOrdered6x6Matrix
ditherOrdered8x8Matrix
public static final int[] ditherOrdered8x8Matrix
ditherCluster3Matrix
public static final int[] ditherCluster3Matrix
ditherCluster4Matrix
public static final int[] ditherCluster4Matrix
ditherCluster8Matrix
public static final int[] ditherCluster8Matrix
matrix
public int[] matrix
rows
public int rows
cols
public int cols
levels
public int levels
colorDither
public boolean colorDither
DitherFilter
public DitherFilter()
setMatrix
public void setMatrix(int[] matrix)
getMatrix
public int[] getMatrix()
setLevels
public void setLevels(int levels)
getLevels
public int getLevels()
filterRGB
public int filterRGB(int x,
int y,
int rgb)
- Specified by:
filterRGB
in class PointFilter
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object