Language

Region.GetBoundaryPath(Path) Method

Definition

Adds the region's boundary contours to a path or replaces the path with them.

[Android.Runtime.Register("getBoundaryPath", "(Landroid/graphics/Path;)Z", "GetGetBoundaryPath_Landroid_graphics_Path_Handler")]
public virtual bool GetBoundaryPath(Android.Graphics.Path path);
[<Android.Runtime.Register("getBoundaryPath", "(Landroid/graphics/Path;)Z", "GetGetBoundaryPath_Landroid_graphics_Path_Handler")>]
abstract member GetBoundaryPath : Android.Graphics.Path -> bool
override this.GetBoundaryPath : Android.Graphics.Path -> bool

Parameters

path
Path

The path that receives the region's boundary contours.

Returns

On Android 1.6 through 2.3 and Android 4.0 through 17, true if the region is nonempty; false if it is empty.

Attributes

Remarks

For a nonempty region, Android 1.6 through 2.3 and Android 4.0 through 16 append the boundary contours to path. Android 17 replaces the path with the boundary. In these versions, an empty region leaves the path unchanged.

Java documentation for android.graphics.Region.getBoundaryPath(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