Creates the smallest possible third rectangle that can contain both of two rectangles that form a union.
Namespace:
Aspose.CAD
Assembly:
Aspose.CAD (in Aspose.CAD.dll) Version: 20.8
Syntaxpublic static RectangleF Union(
RectangleF a,
RectangleF b
)
Public Shared Function Union (
a As RectangleF,
b As RectangleF
) As RectangleF
public:
static RectangleF Union(
RectangleF a,
RectangleF b
)
static member Union :
a : RectangleF *
b : RectangleF -> RectangleF
Parameters
- a
- Type: Aspose.CADRectangleF
A first rectangle to union. - b
- Type: Aspose.CADRectangleF
A second rectangle to union.
Return Value
Type:
RectangleFA third
RectangleF structure that contains both of the two rectangles that form the union.
See Also