Aracılığıyla paylaş


Outline.SetConvexPath(Path) Method

Definition

Sets the Outline to a 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

Parameters

convexPath
Path

used to construct the Outline. As of android.os.Build.VERSION_CODES#Q, it is no longer required to be convex.

Attributes

Remarks

Sets the Outline to a android.graphics.Path#isConvex() convex path.

This member is deprecated. As of android.os.Build.VERSION_CODES#Q, the restriction that the path must be convex is removed. However, the API is misnamed until android.os.Build.VERSION_CODES#R, when #setPath is introduced. Use #setPath instead.

Java documentation for android.graphics.Outline.setConvexPath(android.graphics.Path).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to