
## union {#aspose.cad.RectangleF-aspose.cad.RectangleF}

Creates the smallest possible third rectangle that can contain both of two rectangles that form a union.


### Returns 


A third [`RectangleF`](/cad/python-net/aspose.cad/rectanglef) structure that contains both of the two rectangles that form the union.


```python
def union(self, a, b):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| a | [`RectangleF`](/cad/python-net/aspose.cad/rectanglef) | A first rectangle to union. |
| b | [`RectangleF`](/cad/python-net/aspose.cad/rectanglef) | A second rectangle to union. |



### See Also
* module [`aspose.cad`](../../)
* class [`RectangleF`](/cad/python-net/aspose.cad/rectanglef)
