語言

CompoundButton.ButtonTintBlendMode 屬性

定義

指定用於對按鈕繪製物件套用 } 指定 #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 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於