Changes this rectangle to represent the intersection of itself and a supplied rectangle.
Syntax

[C#]

void Intersect(Rectangle rect);
static Rectangle Intersect(Rectangle a, Rectangle b);

[Visual Basic]

Sub Intersect(rect As Rectangle)
Shared Function Intersect(a As Rectangle, b As Rectangle) As Rectangle
Params
Name Description
rect The rectangle to intersect.
a The first rectangle to intersect.
b The second rectangle to intersect.
return The new resultant rectangle.
Notes

None.

Example

None.