Partager via


Icon.SetTintBlendMode(BlendMode) Method

Definition

Store a blending mode to use whenever this Icon is drawn.

[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

Parameters

mode
BlendMode

a blending mode, as in Drawable#setTintMode(PorterDuff.Mode), may be null

Returns

this same object, for use in chained construction

Attributes

Remarks

Store a blending mode to use whenever this Icon is drawn.

Java documentation for android.graphics.drawable.Icon.setTintBlendMode(android.graphics.BlendMode).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to