4x5 matrix for transforming the color+alpha components of a Bitmap.
See Also:
ColorMatrix Members
Syntax
[Android.Runtime.Register("android/graphics/ColorMatrix", DoNotGenerateAcw=true)]
public class
ColorMatrix :
Java.Lang.ObjectRemarks
4x5 matrix for transforming the color+alpha components of a Bitmap.
The matrix is stored in a single array, and its treated as follows:
java Example
[ a, b, c, d, e,
f, g, h, i, j,
k, l, m, n, o,
p, q, r, s, t ]
When applied to a color
[r, g, b, a], the resulting color
is computed as (after clamping):
java Example
R' = a*R + b*G + c*B + d*A + e;
G' = f*R + g*G + h*B + i*A + j;
B' = k*R + l*G + m*B + n*A + o;
A' = p*R + q*G + r*B + s*A + t;
[Android Documentation]
Requirements
Namespace: Android.Graphics
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1