Android.Hardware.Camera2.Params.TonemapCurve.CopyColorCurve Method
Copy the color curve for a single color channel from this tonemap curve into the destination.

Syntax

[Android.Runtime.Register("copyColorCurve", "(I[FI)V", "")]
public void CopyColorCurve (Android.Graphics.Color colorChannel, float[] destination, int offset)

See Also

TonemapCurve.LevelBlack
TonemapCurve.LevelWhite

Parameters

colorChannel
Documentation for this section has not yet been entered.
destination
an array big enough to hold at least TonemapCurve.GetPointCount(Android.Graphics.Color)*TonemapCurve.PointSize elements after the offset
offset
a non-negative offset into the array

Exceptions

TypeReason
Java.Lang.NullPointerExceptionIf destination was null
Java.Lang.IllegalArgumentExceptionIf offset was negative
Java.Lang.ArrayIndexOutOfBoundsExceptionIf there's not enough room to write the elements at the specified destination and offset.

Remarks

Copy the color curve for a single color channel from this tonemap curve into the destination.

Values are stored as packed (Pin, Pout) points, and there are a total of TonemapCurve.GetPointCount(Android.Graphics.Color) points for that respective channel.

All returned coordinates are between the range of [TonemapCurve.LevelBlack, TonemapCurve.LevelWhite].

[Android Documentation]

Requirements

Namespace: Android.Hardware.Camera2.Params
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0