Språk

TonemapCurve.GetPointCount Method

Definition

Overloads

Name Description
GetPointCount(Color)

Get the number of points stored in this tonemap curve for the specified color channel.

GetPointCount(Int32)

Gets the number of points in the selected color channel's curve.

GetPointCount(Color)

Get the number of points stored in this tonemap curve for the specified color channel.

[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

Parameters

colorChannel
Color

one of #CHANNEL_RED, #CHANNEL_GREEN, #CHANNEL_BLUE

Returns

number of points stored in this tonemap for that color's curve (>= 0)

Attributes

Exceptions

if colorChannel was out of range

Remarks

Get the number of points stored in this tonemap curve for the specified color channel.

Java documentation for android.hardware.camera2.params.TonemapCurve.getPointCount(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.

Applies to

GetPointCount(Int32)

Gets the number of points in the selected color channel's curve.

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

Parameters

colorChannel
Int32

The channel index: 0 for red, 1 for green, or 2 for blue.

Returns

The number of input/output coordinate pairs in that channel's curve.

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