Piccolo.NET

PUtil.AddRectToRect Method 

Returns the union of the two rectangles. If one rectangle is empty and one is not, the non-empty rectangle will be returned.

public static RectangleF AddRectToRect(
   RectangleF rect1,
   RectangleF rect2
);

Parameters

rect1
The first rectangle.
rect2
The second rectangle.

Return Value

The union of the two rectangles.

See Also

PUtil Class | UMD.HCIL.Piccolo.Util Namespace


Web Accessibility