Android.Graphics.ColorMatrix: Method Members

The methods of Android.Graphics.ColorMatrix are listed below. For a list of all members, see the ColorMatrix Members list.

See Also: Inherited members from Java.Lang.Object

Public Methods

GetArray() : float[]
Return the array of floats representing this colormatrix.
PostConcat(ColorMatrix)
Concat this colormatrix with the specified postmatrix.
PreConcat(ColorMatrix)
Concat this colormatrix with the specified prematrix.
Reset()
Set this colormatrix to identity:

java Example

 [ 1 0 0 0 0   - red vector
   0 1 0 0 0   - green vector
   0 0 1 0 0   - blue vector
   0 0 0 1 0 ] - alpha vector
 
Set(ColorMatrix)
Assign the src colormatrix into this matrix, copying all of its values.
Set(float[])
Assign the array of floats into this matrix, copying all of its values.
SetConcat(ColorMatrix, ColorMatrix)
Set this colormatrix to the concatenation of the two specified colormatrices, such that the resulting colormatrix has the same effect as applying matB and then applying matA.
SetRGB2YUV()
Set the matrix to convert RGB to YUV
SetRotate(int, float)
Set the rotation on a color axis by the specified values.
SetSaturation(float)
Set the matrix to affect the saturation of colors.
SetScale(float, float, float, float)
Set this colormatrix to scale by the specified values.
SetYUV2RGB()
Set the matrix to convert from YUV to RGB