Windows Dev Center

Rect Constructor (Point, Point)

Initializes a Rect structure that is exactly large enough to contain the two specified points.

Namespace:  Windows.Foundation
Assembly:  System.Runtime.WindowsRuntime (in System.Runtime.WindowsRuntime.dll)

public Rect(
	Point point1,
	Point point2
)

Parameters

point1
Type: Windows.Foundation.Point

The first point that the new rectangle must contain.

point2
Type: Windows.Foundation.Point

The second point that the new rectangle must contain.

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft