Returns a third Rect structure that represents the intersection of two other Rect structures. If there is no intersection, an empty Rect 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
- A rectangle to intersect.
- b
- A rectangle to intersect.
Return Value
Rect.
See Also