Rectangle with the specified Rectangle. Returns a new Rectangle that represents the intersection of the two rectangles. If the two rectangles do not intersect, the result will be an empty rectangle.
@param r the specified Rectangle
@return the largest Rectangle contained in both thespecified Rectangle and in this Rectangle; or if the rectangles do not intersect, an empty rectangle.
| |
| |
| |
| |