Language

Region.QuickReject Method

Definition

Overloads

Name Description
QuickReject(Rect)

Return true if the region is empty, or if the specified rectangle does not intersect the region.

QuickReject(Region)

Return true if the region is empty, or if the specified region does not intersect the region.

QuickReject(Int32, Int32, Int32, Int32)

Return true if the region is empty, or if the specified rectangle does not intersect the region.

QuickReject(Rect)

Return true if the region is empty, or if the specified rectangle does not intersect the region.

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

Parameters

r
Rect

The rectangle to test for possible overlap.

Returns

true if this quick check proves no overlap; false means overlap remains possible.

Attributes

Remarks

Return true if the region is empty, or if the specified rectangle does not intersect the region. Returning false is not a guarantee that they intersect, but returning true is a guarantee that they do not.

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

QuickReject(Region)

Return true if the region is empty, or if the specified region does not intersect the region.

[Android.Runtime.Register("quickReject", "(Landroid/graphics/Region;)Z", "GetQuickReject_Landroid_graphics_Region_Handler")]
public virtual bool QuickReject(Android.Graphics.Region? rgn);
[<Android.Runtime.Register("quickReject", "(Landroid/graphics/Region;)Z", "GetQuickReject_Landroid_graphics_Region_Handler")>]
abstract member QuickReject : Android.Graphics.Region -> bool
override this.QuickReject : Android.Graphics.Region -> bool

Parameters

rgn
Region

The other region to test for possible overlap.

Returns

true if this quick check proves no overlap; false means overlap remains possible.

Attributes

Remarks

Return true if the region is empty, or if the specified region does not intersect the region. Returning false is not a guarantee that they intersect, but returning true is a guarantee that they do not.

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

QuickReject(Int32, Int32, Int32, Int32)

Return true if the region is empty, or if the specified rectangle does not intersect the region.

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

Parameters

left
Int32

The inclusive left edge of the rectangle being tested.

top
Int32

The inclusive top edge of the rectangle being tested.

right
Int32

The exclusive right edge of the rectangle being tested.

bottom
Int32

The exclusive bottom edge of the rectangle being tested.

Returns

true if this quick check proves no overlap; false means overlap remains possible.

Attributes

Remarks

Return true if the region is empty, or if the specified rectangle does not intersect the region. Returning false is not a guarantee that they intersect, but returning true is a guarantee that they do not.

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