Table of Contents

Method WithSize

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

WithSize(Rect, Size)

Adjusts a given rectangle with the new size.

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

Parameters

rectangle Rect

Rect to process.

size Size

New rectangle size.

Returns

Rect

Rect object with new size.