public class SwizzleFilter extends PointFilter
Modifier and Type | Field and Description |
---|---|
private int[] |
matrix |
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.
|
String |
toString() |
filter, setDimensions
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
private int[] matrix
public SwizzleFilter()
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
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses