Android.Graphics.Rect Class
Rect holds four integer coordinates for a rectangle.

See Also: Rect Members

Syntax

[Android.Runtime.Register("android/graphics/Rect", DoNotGenerateAcw=true)]
public sealed class Rect : Java.Lang.Object, Android.OS.IParcelable, IDisposable

Remarks

Rect holds four integer coordinates for a rectangle. The rectangle is represented by the coordinates of its 4 edges (left, top, right bottom). These fields can be accessed directly. Use width() and height() to retrieve the rectangle's width and height. Note: most methods do not check to see that the coordinates are sorted correctly (i.e. left <= right and top <= bottom).

[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