Icon.SetTintMode(PorterDuff+Mode) Method

Definition

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

[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

Parameters

mode
PorterDuff.Mode

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

Returns

this same object, for use in chained construction

Attributes

Remarks

Java documentation for android.graphics.drawable.Icon.setTintMode(android.graphics.Mode).

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