ColorSpaceTransform.CopyElements 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| CopyElements(Rational[], Int32) |
將元素從此矩陣依列-主要順序複製 |
| CopyElements(Int32[], Int32) |
將元素從此矩陣依列-主要順序複製 |
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 到目的地。
本頁部分內容為基於 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)>