語言

Icon.SetTintBlendMode(BlendMode) 方法

定義

儲存一個混合模式,以便在繪製此圖示時使用。

[Android.Runtime.Register("setTintBlendMode", "(Landroid/graphics/BlendMode;)Landroid/graphics/drawable/Icon;", "", ApiSince=29)]
public Android.Graphics.Drawables.Icon SetTintBlendMode(Android.Graphics.BlendMode mode);
[<Android.Runtime.Register("setTintBlendMode", "(Landroid/graphics/BlendMode;)Landroid/graphics/drawable/Icon;", "", ApiSince=29)>]
member this.SetTintBlendMode : Android.Graphics.BlendMode -> Android.Graphics.Drawables.Icon

參數

mode
BlendMode

混合模式,如 Drawable#setTintMode(PorterDuff.Mode),可能是零模式

傳回

同一物件,用於鏈式構造

屬性

備註

儲存一個混合模式,以便在繪製此圖示時使用。

Java 文件 android.graphics.drawable.Icon.setTintBlendMode(android.graphics.BlendMode)。

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

適用於