RggbChannelVector.GetComponent 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| GetComponent(Color) |
以色彩通道指數取得元件。 |
| GetComponent(Int32) |
GetComponent(Color)
以色彩通道指數取得元件。
[Android.Runtime.Register("getComponent", "(I)F", "")]
public float GetComponent(Android.Graphics.Color colorChannel);
[<Android.Runtime.Register("getComponent", "(I)F", "")>]
member this.GetComponent : Android.Graphics.Color -> single
參數
- colorChannel
- Color
大於或等 0 於且小於 #COUNT
傳回
浮點數值(保證有限)
- 屬性
例外狀況
colorChannel超出範圍
備註
以色彩通道指數取得元件。
colorChannel必須是其中#RED之一,#GREEN_EVEN,#GREEN_ODD#BLUE,。
Java 文件 android.hardware.camera2.params.RggbChannelVector.getComponent(int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
GetComponent(Int32)
public float GetComponent(int colorChannel);
member this.GetComponent : int -> single
參數
- colorChannel
- Int32
傳回
備註
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。