PeachDrawing.Core

PeachDrawing.Core.Rect

Rect.Union(Rect, Rect) Method

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

public static PeachDrawing.Core.Rect Union(PeachDrawing.Core.Rect a, PeachDrawing.Core.Rect b);

Parameters

a Rect

A rectangle to union.

b Rect

A rectangle to union.

Returns

Rect
A third Rect structure that contains both of the two rectangles that form the union.