语言

ColorMatrix 构造函数

定义

重载

名称 说明
ColorMatrix()

创建初始化为标识的新 colormatrix(好像已调用 reset() 一样)。

ColorMatrix(ColorMatrix)

使用指定的 colormatrix 初始化的新 colormatrix。

ColorMatrix(Single[])

创建使用指定值数组初始化的新 colormatrix。

ColorMatrix(IntPtr, JniHandleOwnership)

创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。

ColorMatrix()

创建初始化为标识的新 colormatrix(好像已调用 reset() 一样)。

[Android.Runtime.Register(".ctor", "()V", "")]
public ColorMatrix();
特性

注解

创建初始化为标识的新 colormatrix(好像已调用 reset() 一样)。

Java文档android.graphics.ColorMatrix.ColorMatrix()。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

ColorMatrix(ColorMatrix)

使用指定的 colormatrix 初始化的新 colormatrix。

[Android.Runtime.Register(".ctor", "(Landroid/graphics/ColorMatrix;)V", "")]
public ColorMatrix(Android.Graphics.ColorMatrix? src);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/ColorMatrix;)V", "")>]
new Android.Graphics.ColorMatrix : Android.Graphics.ColorMatrix -> Android.Graphics.ColorMatrix

参数

src
ColorMatrix

复制其二十个系数的颜色矩阵。

特性

注解

使用指定的 colormatrix 初始化的新 colormatrix。

Java文档android.graphics.ColorMatrix.ColorMatrix(android.graphics.ColorMatrix)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

ColorMatrix(Single[])

创建使用指定值数组初始化的新 colormatrix。

[Android.Runtime.Register(".ctor", "([F)V", "")]
public ColorMatrix(float[]? src);
[<Android.Runtime.Register(".ctor", "([F)V", "")>]
new Android.Graphics.ColorMatrix : single[] -> Android.Graphics.ColorMatrix

参数

src
Single[]

一个数组,其前 20 个值按行主要顺序初始化四乘五颜色矩阵。

特性

注解

创建使用指定值数组初始化的新 colormatrix。

Java文档android.graphics.ColorMatrix.ColorMatrix(float[])。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

ColorMatrix(IntPtr, JniHandleOwnership)

创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。

protected ColorMatrix(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Graphics.ColorMatrix : nativeint * Android.Runtime.JniHandleOwnership -> Android.Graphics.ColorMatrix

参数

javaReference
IntPtr

nativeint

IntPtr一个包含Java本机接口 (JNI) 对象引用。

transfer
JniHandleOwnership

指示 JniHandleOwnership如何处理 javaReference

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于