Retrieves a Rectangle object that represents the intersecting area of two specified rectangles.
public static Rectangle intersect( Rectangle lpRect1, Rectangle lpRect2 )
lpRect1
A Rectangle object that specifies the rectangle to be compared to lpRect2.
lpRect2
A Rectangle object that specifies the rectangle to be compared to lpRect1.
Returns a Rectangle object that represents the intersecting area of lpRect1 and lpRect2.