[]
public void Intersect(Rect 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)
| 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. |