public class SwizzleFilter extends PointFilter
canFilterIndexColorModel| Constructor and Description |
|---|
SwizzleFilter() |
| Modifier and Type | Method and Description |
|---|---|
int |
filterRGB(int x,
int y,
int rgb) |
int[] |
getMatrix()
Get the swizzle matrix.
|
void |
setMatrix(int[] matrix)
Set the swizzle matrix.
|
java.lang.String |
toString() |
filter, setDimensionsclone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB, stringToColorpublic void setMatrix(int[] matrix)
matrix - the matrixgetMatrix()public int[] getMatrix()
setMatrix(int[])public int filterRGB(int x,
int y,
int rgb)
filterRGB in class PointFilterpublic java.lang.String toString()
toString in class java.lang.Object