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