Rect.SetIntersect(Rect, Rect) Rect.SetIntersect(Rect, Rect) Method

Definition

If rectangles a and b intersect, return true and set this rectangle to that intersection, otherwise return false and do not change this rectangle.

[Android.Runtime.Register("setIntersect", "(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z", "")]
public bool SetIntersect (Android.Graphics.Rect a, Android.Graphics.Rect b);
member this.SetIntersect : Android.Graphics.Rect * Android.Graphics.Rect -> bool

Parameters

a
Rect Rect

The first rectangle being intersected with

b
Rect Rect

The second rectangle being intersected with

Returns

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