Table of Contents

Method WithLocation

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

WithLocation(Rectangle, Point)

Moves the location of given rectangle to the specified coordinates.

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

Parameters

rectangle Rectangle

Rectangle to process.

location Point

New rectangle location.

Returns

Rectangle

Rectangle object with new location.