RectangleGeometry Constructor (Rect, Double, Double)

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:
© 2016 Microsoft