Rect.Union methods

Applies to Windows and Windows Phone

Creates a Rect representing a rectangle that is exactly large enough to contain the current Rect rectangle and a specified point or a second rectangle.

Overload list

MethodDescription
Rect(Rect) Expands the rectangle represented by the current Rect exactly enough to contain the specified rectangle.
Rect(Point) Expands the rectangle represented by the current Rect exactly enough to contain the specified point.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Foundation
Windows::Foundation [C++]

Metadata

Platform.winmd

Assembly

System.Runtime.WindowsRuntime.dll

See also

Rect

 

 

Show:
© 2014 Microsoft