Sdílet prostřednictvím


View.ForegroundTintBlendMode Property

Definition

Return the blending mode used to apply the tint to the foreground drawable, if specified. -or- Specifies the blending mode used to apply the tint specified by #setForegroundTintList(ColorStateList)} to the background drawable.

public virtual Android.Graphics.BlendMode? ForegroundTintBlendMode { [Android.Runtime.Register("getForegroundTintBlendMode", "()Landroid/graphics/BlendMode;", "GetGetForegroundTintBlendModeHandler", ApiSince=29)] get; [Android.Runtime.Register("setForegroundTintBlendMode", "(Landroid/graphics/BlendMode;)V", "GetSetForegroundTintBlendMode_Landroid_graphics_BlendMode_Handler", ApiSince=29)] set; }
[<get: Android.Runtime.Register("getForegroundTintBlendMode", "()Landroid/graphics/BlendMode;", "GetGetForegroundTintBlendModeHandler", ApiSince=29)>]
[<set: Android.Runtime.Register("setForegroundTintBlendMode", "(Landroid/graphics/BlendMode;)V", "GetSetForegroundTintBlendMode_Landroid_graphics_BlendMode_Handler", ApiSince=29)>]
member this.ForegroundTintBlendMode : Android.Graphics.BlendMode with get, set

Property Value

the blending mode used to apply the tint to the foreground drawable

Attributes

Remarks

Property getter documentation:

Return the blending mode used to apply the tint to the foreground drawable, if specified.

Java documentation for android.view.View.getForegroundTintBlendMode().

Property setter documentation:

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

Java documentation for android.view.View.setForegroundTintBlendMode(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