Table of Contents

Method WithWidth

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

WithWidth(Rect, double)

Adjusts a given rectangle with the new width.

public static Rect WithWidth(this Rect rectangle, double width)

Parameters

rectangle Rect

Rect to process.

width double

New rectangle width.

Returns

Rect

Rect object with new width.