語言

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)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於