Table of Contents

Method DeflatedWithPadding

Namespace
Alternet.Common.Wpf
Assembly
Alternet.Common.Wpf.v9.dll

DeflatedWithPadding(Rect, Thickness)

Deflates given rectangle by the specified padding.

public static Rect DeflatedWithPadding(this Rect r, Thickness p)

Parameters

r Rect

Given rectangle.

p Thickness

Thickness specifying amount to decrease this rectangle.

Returns

Rect

Rect object with new size.