Table of Contents

Method WithLocation

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

WithLocation(Rect, Point)

Moves the location of given rectangle to the specified coordinates.

public static Rect WithLocation(this Rect rectangle, Point location)

Parameters

rectangle Rect

Rect to process.

location Point

New rectangle location.

Returns

Rect

Rect object with new location.