Mega Code Archive

 
Categories / C# / WPF
 

Multiple geometries

<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"       xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"       HorizontalAlignment="Center" VerticalAlignment="Center">         <Path Fill="Cyan" Stroke="Black">           <Path.Data>             <GeometryGroup>               <RectangleGeometry Rect="0,0,550,50" />               <EllipseGeometry Center="500,250" RadiusX="30" RadiusY="10" />             </GeometryGroup>           </Path.Data>         </Path> </Page>