ColorMatrixColorFilterpublic class ColorMatrixColorFilter extends ColorFilter
Constructors Summary |
---|
public ColorMatrixColorFilter(ColorMatrix matrix)Create a colorfilter that transforms colors through a 4x5 color matrix.
native_instance = nativeColorMatrixFilter(matrix.getArray());
| public ColorMatrixColorFilter(float[] array)Create a colorfilter that transforms colors through a 4x5 color matrix.
if (array.length < 20) {
throw new ArrayIndexOutOfBoundsException();
}
native_instance = nativeColorMatrixFilter(array);
|
Methods Summary |
---|
private static native int | nativeColorMatrixFilter(float[] array)
|
|