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