共用方式為


AbsSeekBar.ThumbTintBlendMode Property

Definition

Returns the blending mode used to apply the tint to the thumb drawable, if specified. -or- Specifies the blending mode used to apply the tint specified by #setThumbTintList(ColorStateList)} to the thumb drawable.

public virtual Android.Graphics.BlendMode? ThumbTintBlendMode { [Android.Runtime.Register("getThumbTintBlendMode", "()Landroid/graphics/BlendMode;", "GetGetThumbTintBlendModeHandler", ApiSince=29)] get; [Android.Runtime.Register("setThumbTintBlendMode", "(Landroid/graphics/BlendMode;)V", "GetSetThumbTintBlendMode_Landroid_graphics_BlendMode_Handler", ApiSince=29)] set; }
[<get: Android.Runtime.Register("getThumbTintBlendMode", "()Landroid/graphics/BlendMode;", "GetGetThumbTintBlendModeHandler", ApiSince=29)>]
[<set: Android.Runtime.Register("setThumbTintBlendMode", "(Landroid/graphics/BlendMode;)V", "GetSetThumbTintBlendMode_Landroid_graphics_BlendMode_Handler", ApiSince=29)>]
member this.ThumbTintBlendMode : Android.Graphics.BlendMode with get, set

Property Value

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

Attributes

Remarks

Property getter documentation:

Returns the blending mode used to apply the tint to the thumb drawable, if specified.

Java documentation for android.widget.AbsSeekBar.getThumbTintBlendMode().

Property setter documentation:

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

Java documentation for android.widget.AbsSeekBar.setThumbTintBlendMode(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