Sdílet prostřednictvím


TonemapCurve.CopyColorCurve Method

Definition

Overloads

CopyColorCurve(Color, Single[], Int32)

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

CopyColorCurve(Int32, Single[], Int32)

CopyColorCurve(Color, Single[], Int32)

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

[Android.Runtime.Register("copyColorCurve", "(I[FI)V", "")]
public void CopyColorCurve (Android.Graphics.Color colorChannel, float[]? destination, int offset);
[<Android.Runtime.Register("copyColorCurve", "(I[FI)V", "")>]
member this.CopyColorCurve : Android.Graphics.Color * single[] * int -> unit

Parameters

colorChannel
Color
destination
Single[]

an array big enough to hold at least #getPointCount*#POINT_SIZE elements after the offset

offset
Int32

a non-negative offset into the array

Attributes

Exceptions

If destination was null

If offset was negative

If 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.

<!--The output is encoded the same as in the constructor --> Values are stored as packed (Pin, Pout) points, and there are a total of #getPointCount points for that respective channel.

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

Java documentation for android.hardware.camera2.params.TonemapCurve.copyColorCurve(int, float[], 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

CopyColorCurve(Int32, Single[], Int32)

public void CopyColorCurve (int colorChannel, float[] destination, int offset);
member this.CopyColorCurve : int * single[] * int -> unit

Parameters

colorChannel
Int32
destination
Single[]
offset
Int32

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