Table of Contents

Method Inflated

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

Inflated(Rect, Size)

Inflates given rectangle by the specified size.

public static Rect Inflated(this Rect rectangle, Size size)

Parameters

rectangle Rect

Given rectangle.

size Size

The amount to inflate this rectangle.

Returns

Rect

Rect object with new size.

Inflated(Rect, double)

Inflates given rectangle by the specified amount.

public static Rect Inflated(this Rect rectangle, double amount)

Parameters

rectangle Rect

Given rectangle.

amount double

The amount to inflate this rectangle in vertical and horizontal direction.

Returns

Rect

Rect object with new size.