Modifier

Partager via


EllipseGeometry Constructors

Definition

Initializes a new instance of the EllipseGeometry class.

Overloads

EllipseGeometry()

Initializes a new instance of the EllipseGeometry class.

EllipseGeometry(Rect)

Initializes a new instance of the EllipseGeometry class that has a horizontal diameter equal to the width of the passed Rect, a vertical diameter equal to the length of the passed Rect, and a center point location equal to the center of the passed Rect.

EllipseGeometry(Point, Double, Double)

Initializes a new instance of the EllipseGeometry class as an ellipse that has a specified center location, x radius, and y radius.

EllipseGeometry(Point, Double, Double, Transform)

Initializes a new instance of the EllipseGeometry class that has the specified position, size, and transformation.

EllipseGeometry()

Initializes a new instance of the EllipseGeometry class.

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

Applies to

EllipseGeometry(Rect)

Initializes a new instance of the EllipseGeometry class that has a horizontal diameter equal to the width of the passed Rect, a vertical diameter equal to the length of the passed Rect, and a center point location equal to the center of the passed Rect.

public:
 EllipseGeometry(System::Windows::Rect rect);
public EllipseGeometry (System.Windows.Rect rect);
new System.Windows.Media.EllipseGeometry : System.Windows.Rect -> System.Windows.Media.EllipseGeometry
Public Sub New (rect As Rect)

Parameters

rect
Rect

The rectangle that describes the ellipse dimensions.

Applies to

EllipseGeometry(Point, Double, Double)

Initializes a new instance of the EllipseGeometry class as an ellipse that has a specified center location, x radius, and y radius.

public:
 EllipseGeometry(System::Windows::Point center, double radiusX, double radiusY);
public EllipseGeometry (System.Windows.Point center, double radiusX, double radiusY);
new System.Windows.Media.EllipseGeometry : System.Windows.Point * double * double -> System.Windows.Media.EllipseGeometry
Public Sub New (center As Point, radiusX As Double, radiusY As Double)

Parameters

center
Point

The location of the center of the ellipse.

radiusX
Double

The horizontal radius of the ellipse.

radiusY
Double

The vertical radius of the ellipse.

Applies to

EllipseGeometry(Point, Double, Double, Transform)

Initializes a new instance of the EllipseGeometry class that has the specified position, size, and transformation.

public:
 EllipseGeometry(System::Windows::Point center, double radiusX, double radiusY, System::Windows::Media::Transform ^ transform);
public EllipseGeometry (System.Windows.Point center, double radiusX, double radiusY, System.Windows.Media.Transform transform);
new System.Windows.Media.EllipseGeometry : System.Windows.Point * double * double * System.Windows.Media.Transform -> System.Windows.Media.EllipseGeometry
Public Sub New (center As Point, radiusX As Double, radiusY As Double, transform As Transform)

Parameters

center
Point

The location of the center of the ellipse.

radiusX
Double

The horizontal radius of the ellipse.

radiusY
Double

The vertical radius of the ellipse.

transform
Transform

The transformation to apply to the ellipse.

Applies to