Retrieves the coordinates of the top-right corner of the given rectangle.
a Rect
return location for a Point