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