EllipseGeometry EllipseGeometry EllipseGeometry EllipseGeometry 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// This API is not available in Javascript.
<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

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() EllipseGeometry()

Initializes a new instance of the EllipseGeometry class.

public : EllipseGeometry()public EllipseGeometry()Public Sub New()// This API is not available in Javascript.

Properties

Center 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// This API is not available in Javascript.
<EllipseGeometry Center="x,y"/>
-or-
<EllipseGeometry Center="x y"/>
Value
Point Point Point Point

The center point of the EllipseGeometry.

CenterProperty 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// This API is not available in Javascript.

RadiusX 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// This API is not available in Javascript.
<EllipseGeometry RadiusX="double"/>
Value
double double double double

The x-radius value of the EllipseGeometry.

RadiusXProperty 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// This API is not available in Javascript.

RadiusY 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// This API is not available in Javascript.
<EllipseGeometry RadiusY="double"/>
Value
double double double double

The y-radius value of the EllipseGeometry.

RadiusYProperty 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// This API is not available in Javascript.

See Also