Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

RectangleGeometry Constructor (Rect, Double, Double)

 

Initializes a new instance of the RectangleGeometry class.

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

public RectangleGeometry(
	Rect rect,
	double radiusX,
	double radiusY
)

Parameters

rect
Type: System.Windows.Rect

A Rect structure with the rectangle's dimensions.

radiusX
Type: System.Double

The radius of the rounded corner where it connects with the upper and lower edges of the rectangle.

radiusY
Type: System.Double

The radius of the rounded corner where it connects with the left and right edges of the rectangle.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft