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