Partager via


ScriptIntrinsicColorMatrix.SetColorMatrix Method

Definition

Overloads

SetColorMatrix(Matrix3f)

Set the color matrix which will be applied to each cell of the image.

SetColorMatrix(Matrix4f)

Set the color matrix which will be applied to each cell of the image.

SetColorMatrix(Matrix3f)

Set the color matrix which will be applied to each cell of the image.

[Android.Runtime.Register("setColorMatrix", "(Landroid/renderscript/Matrix3f;)V", "")]
public void SetColorMatrix (Android.Renderscripts.Matrix3f? m);
[<Android.Runtime.Register("setColorMatrix", "(Landroid/renderscript/Matrix3f;)V", "")>]
member this.SetColorMatrix : Android.Renderscripts.Matrix3f -> unit

Parameters

m
Matrix3f

The 3x3 matrix to set.

Attributes

Remarks

Set the color matrix which will be applied to each cell of the image. This will set the alpha channel to be a copy.

Java documentation for android.renderscript.ScriptIntrinsicColorMatrix.setColorMatrix(android.renderscript.Matrix3f).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

SetColorMatrix(Matrix4f)

Set the color matrix which will be applied to each cell of the image.

[Android.Runtime.Register("setColorMatrix", "(Landroid/renderscript/Matrix4f;)V", "")]
public void SetColorMatrix (Android.Renderscripts.Matrix4f? m);
[<Android.Runtime.Register("setColorMatrix", "(Landroid/renderscript/Matrix4f;)V", "")>]
member this.SetColorMatrix : Android.Renderscripts.Matrix4f -> unit

Parameters

m
Matrix4f

The 4x4 matrix to set.

Attributes

Remarks

Set the color matrix which will be applied to each cell of the image.

Java documentation for android.renderscript.ScriptIntrinsicColorMatrix.setColorMatrix(android.renderscript.Matrix4f).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to