Method WithY
WithY(Rectangle, int)
Moves the location of given rectangle to the specified y-coordinate.
public static Rectangle WithY(this Rectangle rectangle, int y)
Parameters
Returns
- Rectangle
Rectangle object with new location.
Moves the location of given rectangle to the specified y-coordinate.
public static Rectangle WithY(this Rectangle rectangle, int y)
Rectangle object with new location.