Windows Dev Center

Rect Constructor (Point, Size)

Initializes a Rect structure based on an origin and size.

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

public Rect(
	Point location,
	Size size
)

Parameters

location
Type: Windows.Foundation.Point

The origin of the new Rect.

size
Type: Windows.Foundation.Size

The size of the new Rect.

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