Table of Contents

Method WithY

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

WithY(Rectangle, int)

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

public static Rectangle WithY(this Rectangle rectangle, int y)

Parameters

rectangle Rectangle

Rectangle to process.

y int

New rectangle Y position.

Returns

Rectangle

Rectangle object with new location.