TonemapCurve.GetPoint 方法

定义

重载

GetPoint(Color, Int32)

获取指定索引处的颜色通道的点。

GetPoint(Int32, Int32)

GetPoint(Color, Int32)

获取指定索引处的颜色通道的点。

[Android.Runtime.Register("getPoint", "(II)Landroid/graphics/PointF;", "")]
public Android.Graphics.PointF? GetPoint (Android.Graphics.Color colorChannel, int index);
[<Android.Runtime.Register("getPoint", "(II)Landroid/graphics/PointF;", "")>]
member this.GetPoint : Android.Graphics.Color * int -> Android.Graphics.PointF

参数

colorChannel
Color

#CHANNEL_RED#CHANNEL_GREEN#CHANNEL_BLUE

index
Int32

至少 0,但不大于 getPointCount(colorChannel)

返回

映射 (Pin, Pout) 该索引的音调的对

属性

例外

如果 colorChannelindex 已脱离范围

注解

获取指定索引处的颜色通道的点。

索引必须至少为 0,但不能大于 #getPointCount(int)colorChannel索引。

点中的所有返回坐标都在 [#LEVEL_BLACK#LEVEL_WHITE] 的范围之间。

适用于 . 的 android.hardware.camera2.params.TonemapCurve.getPoint(int, int)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

另请参阅

适用于

GetPoint(Int32, Int32)

public Android.Graphics.PointF? GetPoint (int colorChannel, int index);
member this.GetPoint : int * int -> Android.Graphics.PointF

参数

colorChannel
Int32
index
Int32

返回

注解

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于