语言

Outline.SetConvexPath(Path) 方法

定义

将大纲设置为 .android.graphics.Path#isConvex() convex path

[Android.Runtime.Register("setConvexPath", "(Landroid/graphics/Path;)V", "")]
public void SetConvexPath(Android.Graphics.Path convexPath);
[<Android.Runtime.Register("setConvexPath", "(Landroid/graphics/Path;)V", "")>]
member this.SetConvexPath : Android.Graphics.Path -> unit

参数

convexPath
Path

用于构造大纲。 因此 android.os.Build.VERSION_CODES#Q,不再需要凸起。

特性

注解

将大纲设置为 .android.graphics.Path#isConvex() convex path

此成员已弃用。 因此 android.os.Build.VERSION_CODES#Q,删除路径必须凸出的限制。 但是,API 被错误命名,直到 android.os.Build.VERSION_CODES#R引入时 #setPath 。 改用 #setPath。

Java文档android.graphics.Outline.setConvexPath(android.graphics.Path)。

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

适用于