Method Intersect
Intersect(XRect)
Sets current rectangle to the intersection of the current rectangle and the specified rectangle.
public void Intersect(XRect rect)
Parameters
rectXRect
Intersect(XRect, XRect)
Returns the intersection of two rectangles.
public static XRect Intersect(XRect rect1, XRect rect2)