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, setDimensions
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB, stringToColor
public void setMatrix(int[] matrix)
matrix
- the matrixgetMatrix()
public int[] getMatrix()
setMatrix(int[])
public int filterRGB(int x, int y, int rgb)
filterRGB
in class PointFilter
public java.lang.String toString()
toString
in class java.lang.Object