语言

TonemapCurve.GetPointCount 方法

定义

重载

名称 说明
GetPointCount(Color)

获取在此色调地图曲线中存储的指定颜色通道的点数。

GetPointCount(Int32)

获取所选颜色通道曲线中的点数。

GetPointCount(Color)

获取在此色调地图曲线中存储的指定颜色通道的点数。

[Android.Runtime.Register("getPointCount", "(I)I", "")]
public int GetPointCount(Android.Graphics.Color colorChannel);
[<Android.Runtime.Register("getPointCount", "(I)I", "")>]
member this.GetPointCount : Android.Graphics.Color -> int

参数

colorChannel
Color

其中一个#CHANNEL_RED, #CHANNEL_GREEN#CHANNEL_BLUE

返回

此色调图中存储的该颜色曲线的点数(>= 0)

特性

例外

如果 colorChannel 范围不足

注解

获取在此色调地图曲线中存储的指定颜色通道的点数。

Java文档android.hardware.camera2.params.TonemapCurve.getPointCount(int)。

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

适用于

GetPointCount(Int32)

获取所选颜色通道曲线中的点数。

public int GetPointCount(int colorChannel);
member this.GetPointCount : int -> int

参数

colorChannel
Int32

通道索引:0 表示红色,1 表示绿色,蓝色为 2。

返回

该通道曲线中的输入/输出坐标对数。

注解

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

适用于