Table of Contents

Method InflatedWithPadding

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

InflatedWithPadding(Rect, Thickness)

Inflates given rectangle by the specified padding.

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

Parameters

r Rect

Given rectangle.

p Thickness

Thickness specifying amount to increase this rectangle.

Returns

Rect

Rect object with new size.