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






Intersects the current rectangle with the specified rectangle and returns a new Rectangle object representing the intersection.

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

 Syntax

Java  Copy Code

public Rectangle intersect (
    Rectangle rect
)

 Parameters

rect

The 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