Region.SetPath(Path, Region) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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).
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.