Android.Graphics.Rect.Set Method
Set the rectangle's coordinates to the specified values.

Syntax

[Android.Runtime.Register("set", "(IIII)V", "")]
public void Set (int left, int top, int right, int bottom)

Parameters

left
The X coordinate of the left side of the rectangle
top
The Y coordinate of the top of the rectangle
right
The X coordinate of the right side of the rectangle
bottom
The Y coordinate of the bottom of the rectangle

Remarks

Set the rectangle's coordinates to the specified values. Note: no range checking is performed, so it is up to the caller to ensure that 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