Applies a color correction filter based on the provided matrix.
Matrix values are as following:
red green blue alpha
[ redMult, redMult, redMult, redMult ]
[ greenMult, greenMult, greenMult, greenMult ]
[ blueMult, blueMult, blueMult, blueMult ]
[ alphaMult, alphaMult, alphaMult, alphaMult ]
An identity matrix will result in an unmodified colors:
[1, 0, 0, 0]
[0, 1, 0, 0]
[0, 0, 1, 0]
[0, 0, 0, 1]
See also:
Static methods
staticgrayed():ColorMatrix
Returns a ColorMatrix filter which results in a grayscale image (0 saturation).