語言

ColorSpaceTransform.CopyElements 方法

定義

多載

名稱 Description
CopyElements(Rational[], Int32)

將元素從此矩陣依列-主要順序複製 Rational 到目的地。

CopyElements(Int32[], Int32)

將元素從此矩陣依列-主要順序複製 Rational 到目的地。

CopyElements(Rational[], Int32)

將元素從此矩陣依列-主要順序複製 Rational 到目的地。

[Android.Runtime.Register("copyElements", "([Landroid/util/Rational;I)V", "")]
public void CopyElements(Android.Util.Rational[]? destination, int offset);
[<Android.Runtime.Register("copyElements", "([Landroid/util/Rational;I)V", "")>]
member this.CopyElements : Android.Util.Rational[] * int -> unit

參數

destination
Rational[]

一個足夠大可容納至少 9 元素的陣列 offset

offset
Int32

陣列中非負偏移量

屬性

例外狀況

如果 destination 是 null

如果沒有足夠空間寫入指定的目的地和偏移量的元素。

備註

將元素從此矩陣依列-主要順序複製 Rational 到目的地。

Java 文件 android.hardware.camera2.params.ColorSpaceTransform.copyElements(android.util.Rational[], int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

CopyElements(Int32[], Int32)

將元素從此矩陣依列-主要順序複製 Rational 到目的地。

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

參數

destination
Int32[]

一個足夠大可容納至少 18 元素的陣列 offset

offset
Int32

陣列中非負偏移量

屬性

例外狀況

如果 destination 是 null

如果沒有足夠空間寫入指定的目的地和偏移量的元素。

備註

將元素從此矩陣依列-主要順序複製 Rational 到目的地。

每個元素都儲存為連續有理數,並以(numerator, denominator)整數對形式包裝,與 相同。ColorSpaceTransform#ColorSpaceTransform(int[]) constructor

Java 文件 android.hardware.camera2.params.ColorSpaceTransform.copyElements(int[], int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

另請參閱

  • <xref:Android.Hardware.Camera2.Params.ColorSpaceTransform(System.Int32%5b%5d)>

適用於