CompoundButton.ButtonTintBlendMode 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
指定用於對按鈕繪製物件套用 } 指定 #setButtonTintList(ColorStateList)色調的混合模式。
public virtual Android.Graphics.BlendMode? ButtonTintBlendMode { [Android.Runtime.Register("getButtonTintBlendMode", "()Landroid/graphics/BlendMode;", "GetGetButtonTintBlendModeHandler", ApiSince=29)] get; [Android.Runtime.Register("setButtonTintBlendMode", "(Landroid/graphics/BlendMode;)V", "GetSetButtonTintBlendMode_Landroid_graphics_BlendMode_Handler", ApiSince=29)] set; }
[<get: Android.Runtime.Register("getButtonTintBlendMode", "()Landroid/graphics/BlendMode;", "GetGetButtonTintBlendModeHandler", ApiSince=29)>]
[<set: Android.Runtime.Register("setButtonTintBlendMode", "(Landroid/graphics/BlendMode;)V", "GetSetButtonTintBlendMode_Landroid_graphics_BlendMode_Handler", ApiSince=29)>]
member this.ButtonTintBlendMode : Android.Graphics.BlendMode with get, set
屬性值
混合模式用來為按鈕繪製物件套用色調
- 屬性
備註
財產取得者文件:
Java 文件 android.widget.CompoundButton.getButtonTintBlendMode()。
屬性設定文件:
指定用於對按鈕繪製物件套用 } 指定 #setButtonTintList(ColorStateList)色調的混合模式。 預設模式為 PorterDuff.Mode#SRC_IN。
Java 文件 android.widget.CompoundButton.setButtonTintBlendMode(android.graphics.BlendMode)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。