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

Gets a [`Rectangle`](/cad/python-net/aspose.cad/rectangle) structure that contains the union of two [`Rectangle`](/cad/python-net/aspose.cad/rectangle) structures.


### Returns 


A [`Rectangle`](/cad/python-net/aspose.cad/rectangle) structure that bounds the union of the two [`Rectangle`](/cad/python-net/aspose.cad/rectangle) structures.


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


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



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