Export (0) Print
Expand All

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft