Android.Graphics.Rect.OffsetTo Method
Offset the rectangle to a specific (left, top) position, keeping its width and height the same.

Syntax

[Android.Runtime.Register("offsetTo", "(II)V", "")]
public void OffsetTo (int newLeft, int newTop)

Parameters

newLeft
The new "left" coordinate for the rectangle
newTop
The new "top" coordinate for the rectangle

Remarks

Offset the rectangle to a specific (left, top) position, keeping its width and height the same.

[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