Udostępnij za pośrednictwem


BlackLevelPattern.CopyTo(Int32[], Int32) Method

Definition

Copy the ColorChannel offsets into the destination vector.

[Android.Runtime.Register("copyTo", "([II)V", "")]
public void CopyTo (int[]? destination, int offset);
[<Android.Runtime.Register("copyTo", "([II)V", "")>]
member this.CopyTo : int[] * int -> unit

Parameters

destination
Int32[]

an array big enough to hold at least #COUNT elements after the offset

offset
Int32

a non-negative offset into the array

Attributes

Exceptions

if the offset is invalid.

if the destination vector is too small.

if the destination is null.

Remarks

Copy the ColorChannel offsets into the destination vector.

Offsets are given in row-column scan order for a given 2x2 color pattern.

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

Applies to