Method WithLocation
WithLocation(PointI)
Returns new rectangle with size of this rectangle and the specified location.
public readonly RectI WithLocation(PointI newLocation)
Parameters
newLocation
PointINew location.
Returns
- RectI
Rectangle object with the new location.