Outline.SetConvexPath(Path) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将大纲设置为 .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)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。