Android.Graphics.Rect.Intersect Method
If the specified rectangle intersects this rectangle, return true and set this rectangle to that intersection, otherwise return false and do not change this rectangle.

Syntax

[Android.Runtime.Register("intersect", "(Landroid/graphics/Rect;)Z", "")]
public bool Intersect (Rect r)

Parameters

r
The rectangle being intersected with this rectangle.

Returns

Documentation for this section has not yet been entered.

Remarks

If the specified rectangle intersects this rectangle, return true and set this rectangle to that intersection, otherwise return false and do not change this rectangle. No check is performed to see if either rectangle is empty. To just test for intersection, use intersects()

[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