Android.Graphics.ColorMatrix Members

The members of Android.Graphics.ColorMatrix are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Create a new colormatrix initialized to identity (as if reset() had been called).
Create a new colormatrix initialized with the specified colormatrix.
Create a new colormatrix initialized with the specified array of values.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

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