语言

Paint.SetPathEffect(PathEffect) 方法

定义

设置或清除 patheffect 对象。

[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

参数

effect
PathEffect

可以为 null。 要在油漆中安装的路径效果

返回

效果

特性

注解

设置或清除 patheffect 对象。

传递 null 以清除任何以前的路径效果。 为方便起见,还会返回传递的参数。

Java文档android.graphics.Paint.setPathEffect(android.graphics.PathEffect)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于