Drawable.SetTintBlendMode(BlendMode) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies a tint blending mode for this drawable.
[Android.Runtime.Register("setTintBlendMode", "(Landroid/graphics/BlendMode;)V", "GetSetTintBlendMode_Landroid_graphics_BlendMode_Handler", ApiSince=29)]
public virtual void SetTintBlendMode (Android.Graphics.BlendMode? blendMode);
[<Android.Runtime.Register("setTintBlendMode", "(Landroid/graphics/BlendMode;)V", "GetSetTintBlendMode_Landroid_graphics_BlendMode_Handler", ApiSince=29)>]
abstract member SetTintBlendMode : Android.Graphics.BlendMode -> unit
override this.SetTintBlendMode : Android.Graphics.BlendMode -> unit
Parameters
- blendMode
- BlendMode
BlendMode to apply to the drawable, a value of null sets the default
blend mode value of BlendMode#SRC_IN
- Attributes
Remarks
Specifies a tint blending mode for this drawable.
Defines how this drawable's tint color should be blended into the drawable before it is drawn to screen. Default tint mode is BlendMode#SRC_IN
.
<p class="note"><strong>Note:</strong> Setting a color filter via #setColorFilter(ColorFilter)
</p>
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.