Table of Contents

Method WithX

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

WithX(Rect, double)

Moves the location of given rectangle to the specified x-coordinate.

public static Rect WithX(this Rect rectangle, double x)

Parameters

rectangle Rect

Rect to process.

x double

New rectangle X position.

Returns

Rect

Rect object with new location.