RectangleGeometry Constructor (Rect, Double, Double, Transform)

 

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,
	Transform transform
)

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.

transform
Type: System.Windows.Media.Transform

The transformation to apply to the geometry.

.NET Framework
Available since 3.0
Return to top
Show: