Rect Constructor (Point, Size)
Collapse the table of content
Expand the table of content

Rect Constructor (Point, Size)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Initializes a Rect structure based on an origin and size.

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)

public Rect(
	Point location,
	Size size
)

Parameters

location
Type: System.Windows.Point
The origin of the new Rect.
size
Type: System.Windows.Size
The size of the new Rect.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft