語言

TextView.CompoundDrawableTintBlendMode 屬性

定義

傳回混合模式,以在指定時將色調套用至複合可繪製。 -或- 指定用於將 指定的 #setCompoundDrawableTintList(ColorStateList) 色調套用至複合可繪製物的混合模式。

public virtual Android.Graphics.BlendMode? CompoundDrawableTintBlendMode { [Android.Runtime.Register("getCompoundDrawableTintBlendMode", "()Landroid/graphics/BlendMode;", "GetGetCompoundDrawableTintBlendModeHandler", ApiSince=29)] get; [Android.Runtime.Register("setCompoundDrawableTintBlendMode", "(Landroid/graphics/BlendMode;)V", "GetSetCompoundDrawableTintBlendMode_Landroid_graphics_BlendMode_Handler", ApiSince=29)] set; }
[<get: Android.Runtime.Register("getCompoundDrawableTintBlendMode", "()Landroid/graphics/BlendMode;", "GetGetCompoundDrawableTintBlendModeHandler", ApiSince=29)>]
[<set: Android.Runtime.Register("setCompoundDrawableTintBlendMode", "(Landroid/graphics/BlendMode;)V", "GetSetCompoundDrawableTintBlendMode_Landroid_graphics_BlendMode_Handler", ApiSince=29)>]
member this.CompoundDrawableTintBlendMode : Android.Graphics.BlendMode with get, set

屬性值

用於將色調套用到複合可繪圖物件上的混合模式

屬性

備註

財產取得者文件:

傳回混合模式,以在指定時將色調套用至複合可繪製。

Java 文件 android.widget.TextView.getCompoundDrawableTintBlendMode()。

屬性設定文件:

指定用於對化合物可繪製物施加指定 #setCompoundDrawableTintList(ColorStateList) 色調的混合模式。 預設模式為 PorterDuff.Mode#SRC_IN。

Java 文件 android.widget.TextView.setCompoundDrawableTintBlendMode(android.graphics.BlendMode)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於