Intersects the specified rectangles and returns a new Rectangle object representing the intersection.
Namespace: com.mindfusion.common
Package: com.mindfusion.common
Java
![]() |
---|
public static Rectangle intersect ( |
The first rectangle to test.
The second rectangle to test.
A Rectangle object or Rectangle.Empty if the rectangles do not intersect.