Android.Graphics.RectF.Inset Method
Inset the rectangle by (dx,dy).

Syntax

[Android.Runtime.Register("inset", "(FF)V", "GetInset_FFHandler")]
public virtual void Inset (float dx, float dy)

Parameters

dx
The amount to add(subtract) from the rectangle's left(right)
dy
The amount to add(subtract) from the rectangle's top(bottom)

Remarks

Inset the rectangle by (dx,dy). If dx is positive, then the sides are moved inwards, making the rectangle narrower. If dx is negative, then the sides are moved outwards, making the rectangle wider. The same holds true for dy and the top and 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