RectangleGeometry Constructor (Rect)

 

Initializes a new instance of the RectangleGeometry class and specifies its dimensions.

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

public:
RectangleGeometry(
	Rect rect
)

Parameters

rect
Type: System.Windows::Rect

A Rect structure with the rectangle's dimensions.

.NET Framework
Available since 3.0
Return to top
Show: