Table of Contents

Method WithY

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

WithY(Rect, double)

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

public static Rect WithY(this Rect rectangle, double y)

Parameters

rectangle Rect

Rect to process.

y double

New rectangle Y position.

Returns

Rect

Rect object with new location.