RectangleGeometry RectangleGeometry RectangleGeometry RectangleGeometry Constructors

Definition

Overloads

RectangleGeometry() RectangleGeometry() RectangleGeometry()

Initializes a new instance of the RectangleGeometry class, and creates a rectangle with zero area.

RectangleGeometry(Rect) RectangleGeometry(Rect) RectangleGeometry(Rect)

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

RectangleGeometry(Rect, Double, Double) RectangleGeometry(Rect, Double, Double) RectangleGeometry(Rect, Double, Double)

Initializes a new instance of the RectangleGeometry class.

RectangleGeometry(Rect, Double, Double, Transform) RectangleGeometry(Rect, Double, Double, Transform) RectangleGeometry(Rect, Double, Double, Transform)

Initializes a new instance of the RectangleGeometry class.

RectangleGeometry() RectangleGeometry() RectangleGeometry()

Initializes a new instance of the RectangleGeometry class, and creates a rectangle with zero area.

public:
 RectangleGeometry();
public RectangleGeometry ();
Public Sub New ()

RectangleGeometry(Rect) RectangleGeometry(Rect) RectangleGeometry(Rect)

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

public:
 RectangleGeometry(System::Windows::Rect rect);
public RectangleGeometry (System.Windows.Rect rect);
new System.Windows.Media.RectangleGeometry : System.Windows.Rect -> System.Windows.Media.RectangleGeometry

Parameters

rect
Rect Rect Rect Rect

A Rect structure with the rectangle's dimensions.

RectangleGeometry(Rect, Double, Double) RectangleGeometry(Rect, Double, Double) RectangleGeometry(Rect, Double, Double)

Initializes a new instance of the RectangleGeometry class.

public:
 RectangleGeometry(System::Windows::Rect rect, double radiusX, double radiusY);
public RectangleGeometry (System.Windows.Rect rect, double radiusX, double radiusY);
new System.Windows.Media.RectangleGeometry : System.Windows.Rect * double * double -> System.Windows.Media.RectangleGeometry

Parameters

rect
Rect Rect Rect Rect

A Rect structure with the rectangle's dimensions.

radiusX
Double Double Double Double

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

radiusY
Double Double Double Double

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

RectangleGeometry(Rect, Double, Double, Transform) RectangleGeometry(Rect, Double, Double, Transform) RectangleGeometry(Rect, Double, Double, Transform)

Initializes a new instance of the RectangleGeometry class.

public:
 RectangleGeometry(System::Windows::Rect rect, double radiusX, double radiusY, System::Windows::Media::Transform ^ transform);
public RectangleGeometry (System.Windows.Rect rect, double radiusX, double radiusY, System.Windows.Media.Transform transform);
new System.Windows.Media.RectangleGeometry : System.Windows.Rect * double * double * System.Windows.Media.Transform -> System.Windows.Media.RectangleGeometry

Parameters

rect
Rect Rect Rect Rect

A Rect structure with the rectangle's dimensions.

radiusX
Double Double Double Double

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

radiusY
Double Double Double Double

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

transform
Transform Transform Transform Transform

The transformation to apply to the geometry.

Applies to