Method WithLocation
WithLocation(Rectangle, Point)
Moves the location of given rectangle to the specified coordinates.
public static Rectangle WithLocation(this Rectangle rectangle, Point location)
Parameters
Returns
- Rectangle
Rectangle object with new location.