Shifts this rectangular area by the specified vector and returns the shifted area. Equivalent to
{@link #valueOf(Point,Point) valueOf}(thisInstance. {@link #min()}. {@link Point#add(Point) add}(vector), thisInstance. {@link #max()}. {@link Point#add(Point) add}(vector))
@param vector the vector which is added to all vertices of this area.
@return the shifted area.
@throws NullPointerException if the argument is
null.
@throws IllegalArgumentException if
vector.{@link Point#coordCount() coordCount()} is not equal to the {@link #coordCount() number of dimensions} of this instance.