Canvas.ClipRegion Method

Definition

Overloads

ClipRegion(Region)
Obsolete.

Intersect the current clip with the specified region.

ClipRegion(Region, Region+Op)
Obsolete.

Modify the current clip with the specified region.

ClipRegion(Region)

Caution

deprecated

Intersect the current clip with the specified region.

[Android.Runtime.Register("clipRegion", "(Landroid/graphics/Region;)Z", "GetClipRegion_Landroid_graphics_Region_Handler")]
[System.Obsolete("deprecated")]
public virtual bool ClipRegion (Android.Graphics.Region? region);
[<Android.Runtime.Register("clipRegion", "(Landroid/graphics/Region;)Z", "GetClipRegion_Landroid_graphics_Region_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member ClipRegion : Android.Graphics.Region -> bool
override this.ClipRegion : Android.Graphics.Region -> bool

Parameters

region
Region

The region to operate on the current clip, based on op

Returns

Boolean
Attributes

Remarks

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

ClipRegion(Region, Region+Op)

Caution

deprecated

Modify the current clip with the specified region.

[Android.Runtime.Register("clipRegion", "(Landroid/graphics/Region;Landroid/graphics/Region$Op;)Z", "GetClipRegion_Landroid_graphics_Region_Landroid_graphics_Region_Op_Handler")]
[System.Obsolete("deprecated")]
public virtual bool ClipRegion (Android.Graphics.Region? region, Android.Graphics.Region.Op? op);
[<Android.Runtime.Register("clipRegion", "(Landroid/graphics/Region;Landroid/graphics/Region$Op;)Z", "GetClipRegion_Landroid_graphics_Region_Landroid_graphics_Region_Op_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member ClipRegion : Android.Graphics.Region * Android.Graphics.Region.Op -> bool
override this.ClipRegion : Android.Graphics.Region * Android.Graphics.Region.Op -> bool

Parameters

region
Region

The region to operate on the current clip, based on op

op
Region.Op

How the clip is modified

Returns

Boolean
Attributes

Remarks

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