Microsoft Silverlight will reach end of support after October 2021. Learn more.
Represents the geometry of a circle or ellipse.
You can use geometries individually or in combination to declare the data for a Path object.
FillRule is technically a property inherited from the base Geometry object, but setting it has no effect on an EllipseGeometry.
The following example shows how to create an ellipse by using EllipseGeometry.
<Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <Path Fill="Gold" Stroke="Black" StrokeThickness="1"> <Path.Data> <EllipseGeometry Center="50,50" RadiusX="50" RadiusY="50" /> </Path.Data> </Path> </Canvas>