[]
public void Intersect(Rect rect)
Public Sub Intersect(rect As Rect)
| Type | Name | Description |
|---|---|---|
| Rect | rect | The Rect to intersect the current one with. |
Creates a new Rect structure representing the intersection of two RectangleD structures. (The intersection may be empty, in which case Empty is returned.)
public static Rect Intersect(Rect a, Rect b)
Public Shared Function Intersect(a As Rect, b As Rect) As Rect
| Type | Name | Description |
|---|---|---|
| Rect | a | The first Rect to intersect. |
| Rect | b | The second Rect to intersect. |
| Type | Description |
|---|---|
| Rect | The newly created Rect structure. |