Ellipse​Geometry Ellipse​Geometry Ellipse​Geometry Class

Definition

Represents the geometry of a circle or ellipse.

public sealed class EllipseGeometry : Geometry, IEllipseGeometrypublic sealed class EllipseGeometry : Geometry, IEllipseGeometryPublic NotInheritable Class EllipseGeometry Inherits Geometry Implements IEllipseGeometry
<EllipseGeometry .../>
Inheritance
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Inherited Members

Inherited properties

Inherited methods

Remarks

Examples

This example shows how to create an ellipse using EllipseGeometry.

<Canvas>
    <Path Fill="Gold" Stroke="Red" StrokeThickness="1">
        <Path.Data>
            <EllipseGeometry Center="50,50" RadiusX="50" RadiusY="50" />
        </Path.Data>
    </Path>
</Canvas>

Constructors

EllipseGeometry() EllipseGeometry() EllipseGeometry()

Initializes a new instance of the EllipseGeometry class.

public EllipseGeometry()public EllipseGeometry()Public Sub New()
Attributes

Properties

Center Center Center

Gets or sets the center point of the EllipseGeometry.

public Point Center { get; set; }public Point Center { get; set; }Public ReadWrite Property Center As Point
<EllipseGeometry Center="x,y"/>
-or-
<EllipseGeometry Center="x y"/>
Value
Point Point Point

The center point of the EllipseGeometry.

Attributes

CenterProperty CenterProperty CenterProperty

Identifies the Center dependency property.

public static DependencyProperty CenterProperty { get; }public static DependencyProperty CenterProperty { get; }Public Static ReadOnly Property CenterProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The Center dependency property identifier.

Attributes

RadiusX RadiusX RadiusX

Gets or sets the x-radius value of the EllipseGeometry.

public double RadiusX { get; set; }public double RadiusX { get; set; }Public ReadWrite Property RadiusX As double
<EllipseGeometry RadiusX="double"/>
Value
double double double

The x-radius value of the EllipseGeometry.

Attributes

RadiusXProperty RadiusXProperty RadiusXProperty

Identifies the RadiusX dependency property.

public static DependencyProperty RadiusXProperty { get; }public static DependencyProperty RadiusXProperty { get; }Public Static ReadOnly Property RadiusXProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The RadiusX dependency property identifier.

Attributes

RadiusY RadiusY RadiusY

Gets or sets the y-radius value of the EllipseGeometry.

public double RadiusY { get; set; }public double RadiusY { get; set; }Public ReadWrite Property RadiusY As double
<EllipseGeometry RadiusY="double"/>
Value
double double double

The y-radius value of the EllipseGeometry.

Attributes

RadiusYProperty RadiusYProperty RadiusYProperty

Identifies the RadiusY dependency property.

public static DependencyProperty RadiusYProperty { get; }public static DependencyProperty RadiusYProperty { get; }Public Static ReadOnly Property RadiusYProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The RadiusY dependency property identifier.

Attributes