Intersect(Rect,Rect) Method
In This Topic
Creates a new
Rect structure representing the intersection of two
RectangleD structures. (The intersection may be empty, in which case
Rect.Empty is returned.)
Syntax
'Declaration
Public Overloads Shared Function Intersect( _
ByVal As Rect, _
ByVal As Rect _
) As Rect
public static Rect Intersect(
Rect ,
Rect
)
Parameters
- a
- The first Rect to intersect.
- b
- The second Rect to intersect.
Return Value
The newly created
Rect structure.
See Also