Table of Contents

Method WithWidth

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

WithWidth(Rectangle, int)

Adjusts a given rectangle with the new width.

public static Rectangle WithWidth(this Rectangle rectangle, int width)

Parameters

rectangle Rectangle

Rectangle to process.

width int

New rectangle width.

Returns

Rectangle

Rectangle object with new width.