Mega Code Archive

 
Categories / VB.Net Tutorial / WPF
 

Setting Points for Polygon

<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>       <Polygon Stroke="Blue" StrokeThickness="1" Fill="Yellow" Canvas.Left="10"         Points="15,200 68,70 110,200 0,125 135,125" >       </Polygon>   </Canvas> </Page>