Method Intersect
Intersect(Rect, Rect)
Intersect Shared Method
public static Rect Intersect(Rect a, Rect b)
Parameters
Returns
Remarks
Produces a new Rectangle by intersecting 2 existing Rectangles. Returns null if there is no intersection.
Intersect(Rect)
Intersect Method
public void Intersect(Rect rect)
Parameters
rect
Rect
Remarks
Replaces the Rectangle with the intersection of itself and another Rectangle.