title: Polygon not being drawn on Canvas
body: <p>I am learning WPF and trying to dynamically draw a collection of polygons to a canvas.</p>
  
  <p>I am configuring the polygons as follows:</p>
  
  <pre><code>mHexagon = new Polygon();
  mHexagon.Width = Diameter * 2;
  mHexagon.Height = Diameter * 2;
  mHexagon.StrokeThickness = 1;
  mHexagon.Stroke = Brushes.AliceBlue;
  mHexagon.Points = new PointCollection(Vertices.Select(v =&gt; new Point(v.X, v.Y)));
  </code></pre>
  
  <p>Sample point collection:  </p>
  
  <blockquote>
    <p>Vertices<br>
        :128,64<br>
        :96,8.57437415779593<br>
        :32,8.57437415779592<br>
        :0,64<br>
      :32,119.425625842204<br>
        :96,119.425625842204</p>
  </blockquote>
  
  <p>I am adding the polygon as follows (encapsulated in <code>Hexagon</code> class):</p>
  
  <pre><code>PlayerMapWindow.Children.Add(hex.Polygon);
  </code></pre>
  
  <p>And my XAML looks like:  </p>
  
  <pre><code>&lt;Border BorderThickness="1"
          BorderBrush="DarkRed"
          Background="Black"
          Padding="2"&gt;
      &lt;Viewbox Name="PlayerMapViewbox" 
               VerticalAlignment="Stretch"
               HorizontalAlignment="Stretch"&gt;
          &lt;Canvas Name="PlayerMapWindow"/&gt;
      &lt;/Viewbox&gt;
  &lt;/Border&gt;
  </code></pre>
  
  <p>After adding the polygon (hex) to the canvas children, nothing is drawn.</p>