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