JPlanner Programmer's Guide
Rectangle.intersect Method (Rectangle, Rectangle)
See Also
 






Intersects the specified rectangles and returns a new Rectangle object representing the intersection.

Namespace: com.mindfusion.common
Package: com.mindfusion.common

 Syntax

Java  Copy Code

public static Rectangle intersect (
    Rectangle a,
    Rectangle b
)

 Parameters

a

The first rectangle to test.

b

The second rectangle to test.

 Return Value

A Rectangle object or Rectangle.Empty if the rectangles do not intersect.

 See Also

intersect Method Overload List
Rectangle Members
Rectangle Class
com.mindfusion.common Namespace