Mega Code Archive

 
Categories / VB.Net / WPF
 

Ellipse Geometry

<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" Title="">  <Canvas>     <Image>       <Image.Source>         <DrawingImage>           <DrawingImage.Drawing>             <GeometryDrawing Brush="Orange">               <GeometryDrawing.Pen>                 <Pen Brush="Black" Thickness="10"/>               </GeometryDrawing.Pen>               <GeometryDrawing.Geometry>                 <EllipseGeometry RadiusX="100" RadiusY="50"/>               </GeometryDrawing.Geometry>             </GeometryDrawing>           </DrawingImage.Drawing>         </DrawingImage>       </Image.Source>     </Image>  </Canvas> </Window>