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