Compartilhar via


Paint.SetPathEffect(PathEffect) Method

Definition

Set or clear the patheffect object.

[Android.Runtime.Register("setPathEffect", "(Landroid/graphics/PathEffect;)Landroid/graphics/PathEffect;", "GetSetPathEffect_Landroid_graphics_PathEffect_Handler")]
public virtual Android.Graphics.PathEffect? SetPathEffect (Android.Graphics.PathEffect? effect);
[<Android.Runtime.Register("setPathEffect", "(Landroid/graphics/PathEffect;)Landroid/graphics/PathEffect;", "GetSetPathEffect_Landroid_graphics_PathEffect_Handler")>]
abstract member SetPathEffect : Android.Graphics.PathEffect -> Android.Graphics.PathEffect
override this.SetPathEffect : Android.Graphics.PathEffect -> Android.Graphics.PathEffect

Parameters

effect
PathEffect

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

Returns

effect

Attributes

Remarks

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

Java documentation for android.graphics.Paint.setPathEffect(android.graphics.PathEffect).

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