Table of Contents

Method DeflatedWithPadding

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

DeflatedWithPadding(Rectangle, Padding)

Deflates given rectangle by the specified padding.

public static Rectangle DeflatedWithPadding(this Rectangle r, Padding p)

Parameters

r Rectangle

Given rectangle.

p Padding

System.Windows.Forms.Padding specifying amount to decrease this rectangle.

Returns

Rectangle

Rectangle object with new size.