Icon.SetTintMode(PorterDuff+Mode) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
存储混合模式,以在绘制此图标时使用。
[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)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。