Android.Graphics.Rect.Intersects Method
Returns true iff the two specified rectangles intersect.

Syntax

[Android.Runtime.Register("intersects", "(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z", "")]
public static bool Intersects (Rect a, Rect b)

Parameters

a
The first rectangle being tested for intersection
b
The second rectangle being tested for intersection

Returns

Documentation for this section has not yet been entered.

Remarks

Returns true iff the two specified rectangles intersect. In no event are either of the rectangles modified. To record the intersection, use Rect.Intersect(Rect) or Rect.SetIntersect(Rect, Android.Graphics.Rect).

[Android Documentation]

Requirements

Namespace: Android.Graphics
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1