Rect.Union Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

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.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodSupported by Silverlight for Windows Phone Union(Point) Expands the rectangle represented by the current Rect exactly enough to contain the specified point.
Public methodSupported by Silverlight for Windows Phone Union(Rect) Expands the rectangle represented by the current Rect exactly enough to contain the specified rectangle.

Top