Android.Graphics.Rect.Contains Method
Returns true if (x,y) is inside the rectangle.

Syntax

[Android.Runtime.Register("contains", "(II)Z", "")]
public bool Contains (int x, int y)

Parameters

x
The X coordinate of the point being tested for containment
y
The Y coordinate of the point being tested for containment

Returns

Documentation for this section has not yet been entered.

Remarks

Returns true if (x,y) is inside the rectangle. The left and top are considered to be inside, while the right and bottom are not. This means that for a x,y to be contained: left <= x

[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