title: WPF - Path/Geometry help - Strange shape
body: <p>Anyone know a good way to create this object from Xaml?  It also has to work at .5 Opacity when layered on top of other controls.</p>
  
  <p>It also has to be resizable via Horizontal or Vertical Alignment.</p>
  
  <p>I'm having some difficulty.  The closest I get is with 2 borders, one having a negative margin--but it doesn't work when Opacity is applied.</p>
  
  <p>Code that works:</p>
  
  <pre><code>&lt;Path Fill="Black"&gt;
      &lt;Path.Data&gt;
          &lt;CombinedGeometry GeometryCombineMode="Exclude"&gt;
              &lt;CombinedGeometry.Geometry1&gt;
                  &lt;RectangleGeometry RadiusX="5" RadiusY="5" Rect="0,0,200,100" /&gt;
              &lt;/CombinedGeometry.Geometry1&gt;
              &lt;CombinedGeometry.Geometry2&gt;
                  &lt;RectangleGeometry RadiusX="5" RadiusY="5" Rect="105,5,90,90" /&gt;
              &lt;/CombinedGeometry.Geometry2&gt;
          &lt;/CombinedGeometry&gt;
      &lt;/Path.Data&gt;
  &lt;/Path&gt;
  </code></pre>