Intersect Method
Intersect(Int32Rect, Int32Rect)
Creates a rectangle that represents the intersection between a and b. If there is no intersection, an empty rectangle is returned.
Declaration
public static Int32Rect Intersect(Int32Rect a, Int32Rect b)
Parameters
Type | Name | Description |
---|---|---|
Int32Rect | a | |
Int32Rect | b |
Returns
Type | Description |
---|---|
Int32Rect |
Intersect(Int32Rect)
Creates a Rectangle that represents the intersection between this Rectangle and rect.
Declaration
public void Intersect(Int32Rect rect)
Parameters
Type | Name | Description |
---|---|---|
Int32Rect | rect |