UiModeManager.Contrast 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
為使用者回傳色彩對比。
public virtual float Contrast { [Android.Runtime.Register("getContrast", "()F", "GetGetContrastHandler", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getContrast", "()F", "GetGetContrastHandler", ApiSince=34)>]
member this.Contrast : single
屬性值
顏色對比度浮點在[-1, 1]中,其中<ul><li> 0對應預設對比<度/li><li -1> 對應最小對比<度 /li><li> 與nbsp;1對應最大對比<度 /li></ul>
- 屬性
備註
為使用者回傳色彩對比。 注意:只有當你的應用程式自行渲染且不依賴材質渲染管線時,才需要查詢此問題。
Android 參考資料。android.app.UiModeManager.getContrast
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。