Drawable.SetTintMode(PorterDuff+Mode) Method
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("setTintMode", "(Landroid/graphics/PorterDuff$Mode;)V", "GetSetTintMode_Landroid_graphics_PorterDuff_Mode_Handler")]
public virtual void SetTintMode (Android.Graphics.PorterDuff.Mode? tintMode);
[<Android.Runtime.Register("setTintMode", "(Landroid/graphics/PorterDuff$Mode;)V", "GetSetTintMode_Landroid_graphics_PorterDuff_Mode_Handler")>]
abstract member SetTintMode : Android.Graphics.PorterDuff.Mode -> unit
override this.SetTintMode : Android.Graphics.PorterDuff.Mode -> unit
- tintMode
- PorterDuff.Mode
A Porter-Duff blending mode to apply to the drawable, a value of null sets
the default Porter-Diff blending mode value
of PorterDuff.Mode#SRC_IN
- Attributes
Java documentation for android.graphics.drawable.Drawable.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.
Product | Versions |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35 |