TonemapCurve.GetPoint Method

Definition

Overloads

GetPoint(Color, Int32)

Get the point for a color channel at a specified index.

GetPoint(Int32, Int32)

GetPoint(Color, Int32)

Get the point for a color channel at a specified index.

[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

Parameters

colorChannel
Color

#CHANNEL_RED, #CHANNEL_GREEN, or #CHANNEL_BLUE

index
Int32

at least 0 but no greater than getPointCount(colorChannel)

Returns

the (Pin, Pout) pair mapping the tone for that index

Attributes

Exceptions

if colorChannel or index was out of range

Remarks

Get the point for a color channel at a specified index.

The index must be at least 0 but no greater than #getPointCount(int) for that colorChannel.

All returned coordinates in the point are between the range of [#LEVEL_BLACK, #LEVEL_WHITE].

Java documentation for android.hardware.camera2.params.TonemapCurve.getPoint(int, int).

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.

See also

Applies to

GetPoint(Int32, Int32)

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

Parameters

colorChannel
Int32
index
Int32

Returns

Remarks

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