Sdílet prostřednictvím


Paint.SetMaskFilter(MaskFilter) Method

Definition

Set or clear the maskfilter object.

[Android.Runtime.Register("setMaskFilter", "(Landroid/graphics/MaskFilter;)Landroid/graphics/MaskFilter;", "GetSetMaskFilter_Landroid_graphics_MaskFilter_Handler")]
public virtual Android.Graphics.MaskFilter? SetMaskFilter (Android.Graphics.MaskFilter? maskfilter);
[<Android.Runtime.Register("setMaskFilter", "(Landroid/graphics/MaskFilter;)Landroid/graphics/MaskFilter;", "GetSetMaskFilter_Landroid_graphics_MaskFilter_Handler")>]
abstract member SetMaskFilter : Android.Graphics.MaskFilter -> Android.Graphics.MaskFilter
override this.SetMaskFilter : Android.Graphics.MaskFilter -> Android.Graphics.MaskFilter

Parameters

maskfilter
MaskFilter

May be null. The maskfilter to be installed in the paint

Returns

maskfilter

Attributes

Remarks

Set or clear the maskfilter object. <p /> Pass null to clear any previous maskfilter. As a convenience, the parameter passed is also returned.

Java documentation for android.graphics.Paint.setMaskFilter(android.graphics.MaskFilter).

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