Region.SetPath(Path, Region) Method

Definition

Set the region to the area described by the path and clip.

[Android.Runtime.Register("setPath", "(Landroid/graphics/Path;Landroid/graphics/Region;)Z", "GetSetPath_Landroid_graphics_Path_Landroid_graphics_Region_Handler")]
public virtual bool SetPath (Android.Graphics.Path path, Android.Graphics.Region clip);
[<Android.Runtime.Register("setPath", "(Landroid/graphics/Path;Landroid/graphics/Region;)Z", "GetSetPath_Landroid_graphics_Path_Landroid_graphics_Region_Handler")>]
abstract member SetPath : Android.Graphics.Path * Android.Graphics.Region -> bool
override this.SetPath : Android.Graphics.Path * Android.Graphics.Region -> bool

Parameters

path
Path
clip
Region

Returns

Attributes

Remarks

Set the region to the area described by the path and clip. Return true if the resulting region is non-empty. This produces a region that is identical to the pixels that would be drawn by the path (with no antialiasing).

Java documentation for android.graphics.Region.setPath(android.graphics.Path, android.graphics.Region).

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