语言

PathMeasure.SetPath(Path, Boolean) 方法

定义

分配新路径,或为 null 以无。

[Android.Runtime.Register("setPath", "(Landroid/graphics/Path;Z)V", "GetSetPath_Landroid_graphics_Path_ZHandler")]
public virtual void SetPath(Android.Graphics.Path? path, bool forceClosed);
[<Android.Runtime.Register("setPath", "(Landroid/graphics/Path;Z)V", "GetSetPath_Landroid_graphics_Path_ZHandler")>]
abstract member SetPath : Android.Graphics.Path * bool -> unit
override this.SetPath : Android.Graphics.Path * bool -> unit

参数

path
Path

要度量的路径,或 null 清除关联。

forceClosed
Boolean

是否以封闭的形式测量轮廓,即使没有显式的结束段也是如此。

特性

注解

分配新路径,或为 null 以无。

Java文档android.graphics.PathMeasure.setPath(android.graphics.Path, boolean)。

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

适用于