[]
Creates a new Rect structure representing the smallest possible rectangle containing the two specified rectangles.
public static Rect Union(Rect a, Rect b)
Public Shared Function Union(a As Rect, b As Rect) As Rect
| Type | Name | Description |
|---|---|---|
| Rect | a | The first Rect to combine. |
| Rect | b | The second Rect to combine. |
| Type | Description |
|---|---|
| Rect | The newly created Rect structure. |