ImageView.ImageTintBlendMode Property

Definition

Gets the blending mode used to apply the tint to the image Drawable -or- Specifies the blending mode used to apply the tint specified by #setImageTintList(ColorStateList)} to the image drawable.

public virtual Android.Graphics.BlendMode? ImageTintBlendMode { [Android.Runtime.Register("getImageTintBlendMode", "()Landroid/graphics/BlendMode;", "GetGetImageTintBlendModeHandler", ApiSince=29)] get; [Android.Runtime.Register("setImageTintBlendMode", "(Landroid/graphics/BlendMode;)V", "GetSetImageTintBlendMode_Landroid_graphics_BlendMode_Handler", ApiSince=29)] set; }
[<get: Android.Runtime.Register("getImageTintBlendMode", "()Landroid/graphics/BlendMode;", "GetGetImageTintBlendModeHandler", ApiSince=29)>]
[<set: Android.Runtime.Register("setImageTintBlendMode", "(Landroid/graphics/BlendMode;)V", "GetSetImageTintBlendMode_Landroid_graphics_BlendMode_Handler", ApiSince=29)>]
member this.ImageTintBlendMode : Android.Graphics.BlendMode with get, set

Property Value

the blending mode used to apply the tint to the image Drawable

Attributes

Remarks

Property getter documentation:

Gets the blending mode used to apply the tint to the image Drawable

Java documentation for android.widget.ImageView.getImageTintBlendMode().

Property setter documentation:

Specifies the blending mode used to apply the tint specified by #setImageTintList(ColorStateList)} to the image drawable. The default mode is BlendMode#SRC_IN.

Java documentation for android.widget.ImageView.setImageTintBlendMode(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