TonemapCurve.GetPoint 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| GetPoint(Color, Int32) |
取得指定索引的色彩通道點數。 |
| GetPoint(Int32, Int32) |
從所選色彩通道的曲線中取得一點。 |
GetPoint(Color, Int32)
取得指定索引的色彩通道點數。
[Android.Runtime.Register("getPoint", "(II)Landroid/graphics/PointF;", "")]
public Android.Graphics.PointF? GetPoint(Android.Graphics.Color colorChannel, int index);
[<Android.Runtime.Register("getPoint", "(II)Landroid/graphics/PointF;", "")>]
member this.GetPoint : Android.Graphics.Color * int -> Android.Graphics.PointF
參數
- colorChannel
- Color
#CHANNEL_RED、 #CHANNEL_GREEN或 #CHANNEL_BLUE
- index
- Int32
至少為 0,但不大於 getPointCount(colorChannel)
傳回
(Pin, Pout)映射該指數的音調對
- 屬性
例外狀況
如果 colorChannel 或 index 超出範圍
備註
取得指定索引的色彩通道點數。
該指數必須至少為0,但不 #getPointCount(int) 大於該條件 colorChannel。
該點中所有回傳的座標都在 [#LEVEL_BLACK, #LEVEL_WHITE] 的範圍之間。
Java 文件 android.hardware.camera2.params.TonemapCurve.getPoint(int, int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
另請參閱
適用於
GetPoint(Int32, Int32)
從所選色彩通道的曲線中取得一點。
public Android.Graphics.PointF? GetPoint(int colorChannel, int index);
member this.GetPoint : int * int -> Android.Graphics.PointF
參數
- colorChannel
- Int32
通道索引:紅色為0,綠色為1,藍色為2。
- index
- Int32
零點指數。 必須低於所選通道的點數。
傳回
一個點,其 X 座標為輸入電平,Y 座標為輸出電平。 這兩個等級都在0到1之間,包含在內。
備註
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。