Method Union
Union(RectangleF, RectangleF)
Creates the smallest possible third rectangle that can contain both of two rectangles that form a union.
public static RectangleF Union(RectangleF a, RectangleF b)
Parameters
a
RectangleFA first rectangle to union.
b
RectangleFA second rectangle to union.
Returns
- RectangleF
A third RectangleF structure that contains both of the two rectangles that form the union.