语言

Icon.SetTintMode(PorterDuff+Mode) 方法

定义

存储混合模式,以在绘制此图标时使用。

[Android.Runtime.Register("setTintMode", "(Landroid/graphics/PorterDuff$Mode;)Landroid/graphics/drawable/Icon;", "", ApiSince=23)]
public Android.Graphics.Drawables.Icon SetTintMode(Android.Graphics.PorterDuff.Mode mode);
[<Android.Runtime.Register("setTintMode", "(Landroid/graphics/PorterDuff$Mode;)Landroid/graphics/drawable/Icon;", "", ApiSince=23)>]
member this.SetTintMode : Android.Graphics.PorterDuff.Mode -> Android.Graphics.Drawables.Icon

参数

mode
PorterDuff.Mode

混合模式(如中 Drawable#setTintMode(PorterDuff.Mode))可能为 null

返回

此同一对象,用于链接构造

特性

注解

Java文档android.graphics.drawable.Icon.setTintMode(android.graphics.Mode)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于