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

属性值

用于将色调应用于复合可绘制器的混合模式

属性

注解

属性 getter 文档:

适用于 . 的 android.widget.TextView.getCompoundDrawableTintMode()Java 文档

属性 setter 文档:

适用于 . 的 android.widget.TextView.setCompoundDrawableTintMode(android.graphics.Mode)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于