Mega Code Archive

 
Categories / VB.Net Tutorial / WPF
 

EllipseGeometry for Path

<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"     x:Class="Microsoft.Samples.Graphics.RectangleExample"     WindowTitle="Example">   <Canvas>     <Path Fill="Red" Stroke="Red" StrokeThickness="8"  Canvas.Top="20">       <Path.Data>         <GeometryGroup>           <EllipseGeometry Center="130,30"></EllipseGeometry>           <EllipseGeometry Center="40,140"></EllipseGeometry>         </GeometryGroup>       </Path.Data>     </Path>   </Canvas> </Page>