[]
Creates a new Rect structure representing the smallest possible rectangle containing the two specified rectangles.
public static Rect Union(Rect a, Rect b)
| 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. |