語言

TextView.CompoundDrawableTintMode 屬性

定義

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

public virtual Android.Graphics.PorterDuff.Mode? CompoundDrawableTintMode { [Android.Runtime.Register("getCompoundDrawableTintMode", "()Landroid/graphics/PorterDuff$Mode;", "GetGetCompoundDrawableTintModeHandler", ApiSince=23)] get; [Android.Runtime.Register("setCompoundDrawableTintMode", "(Landroid/graphics/PorterDuff$Mode;)V", "GetSetCompoundDrawableTintMode_Landroid_graphics_PorterDuff_Mode_Handler", ApiSince=23)] set; }
[<get: Android.Runtime.Register("getCompoundDrawableTintMode", "()Landroid/graphics/PorterDuff$Mode;", "GetGetCompoundDrawableTintModeHandler", ApiSince=23)>]
[<set: Android.Runtime.Register("setCompoundDrawableTintMode", "(Landroid/graphics/PorterDuff$Mode;)V", "GetSetCompoundDrawableTintMode_Landroid_graphics_PorterDuff_Mode_Handler", ApiSince=23)>]
member this.CompoundDrawableTintMode : Android.Graphics.PorterDuff.Mode with get, set

屬性值

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

屬性

備註

財產取得者文件:

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

屬性設定文件:

Java 文件 android.widget.TextView.setCompoundDrawableTintMode(android.graphics.Mode)。

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

適用於