locked
How do I create a half transparent image with empty middle RRS feed

Answers

  • I solved it by using following code in my xaml:

    <Path  StrokeThickness="0" Fill="Black" Opacity=".5" >
         <Path.Data>
             <GeometryGroup FillRule="EvenOdd">
                 <RectangleGeometry Rect="150,150,480,340" />
                 <RectangleGeometry Rect="0,0,1366,768"  />
             </GeometryGroup>
         </Path.Data>
    </Path>
    • Marked as answer by howard hee Thursday, October 10, 2013 6:38 AM
    Thursday, October 10, 2013 6:38 AM

All replies