Region.Set Method

Definition

Overloads

Set(Int32, Int32, Int32, Int32)

Set the region to the specified rectangle

Set(Region)

Set the region to the specified region.

Set(Rect)

Set the region to the specified rectangle

Set(Int32, Int32, Int32, Int32)

Set the region to the specified rectangle

[Android.Runtime.Register("set", "(IIII)Z", "GetSet_IIIIHandler")]
public virtual bool Set (int left, int top, int right, int bottom);
[<Android.Runtime.Register("set", "(IIII)Z", "GetSet_IIIIHandler")>]
abstract member Set : int * int * int * int -> bool
override this.Set : int * int * int * int -> bool

Parameters

left
Int32
top
Int32
right
Int32
bottom
Int32

Returns

Attributes

Remarks

Set the region to the specified rectangle

Java documentation for android.graphics.Region.set(int, int, int, int).

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

Set(Region)

Set the region to the specified region.

[Android.Runtime.Register("set", "(Landroid/graphics/Region;)Z", "GetSet_Landroid_graphics_Region_Handler")]
public virtual bool Set (Android.Graphics.Region region);
[<Android.Runtime.Register("set", "(Landroid/graphics/Region;)Z", "GetSet_Landroid_graphics_Region_Handler")>]
abstract member Set : Android.Graphics.Region -> bool
override this.Set : Android.Graphics.Region -> bool

Parameters

region
Region

Returns

Attributes

Remarks

Set the region to the specified region.

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

Set(Rect)

Set the region to the specified rectangle

[Android.Runtime.Register("set", "(Landroid/graphics/Rect;)Z", "GetSet_Landroid_graphics_Rect_Handler")]
public virtual bool Set (Android.Graphics.Rect r);
[<Android.Runtime.Register("set", "(Landroid/graphics/Rect;)Z", "GetSet_Landroid_graphics_Rect_Handler")>]
abstract member Set : Android.Graphics.Rect -> bool
override this.Set : Android.Graphics.Rect -> bool

Parameters

r
Rect

Returns

Attributes

Remarks

Set the region to the specified rectangle

Java documentation for android.graphics.Region.set(android.graphics.Rect).

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