-
Bug
-
Resolution: Fixed
-
P4
-
1.3.0
-
beta
-
sparc
-
solaris_2.5
Name: dsC58869 Date: 11/01/99
The Java Doc for method
public Rectangle java.awt.Rectangle.intersection(Rectangle r)
says:
----------
Computes the intersection of this Rectangle with the specified Rectangle. Returns a new Rectangle that
represents the intersection of the two rectangles.
Parameters:
r - the specified Rectangle
Returns:
the largest Rectangle contained in both the specified Rectangle and in thisRectangle.
----------
and says nothing about result for non-intersection rectangles.
It is unclear what "largest Rectangle contained in both" mean in this case.
======================================================================
- relates to
-
JDK-4374642 createIntersection fails if rectangles do not overlap
- Resolved
-
JDK-4205002 Rectangle.intersection should say about non-intersecting rectangles
- Closed