Triangular Clip Example

image_pdfimage_print


   
    
<Window  
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    x:Class="SDKSample.SampleViewer"
    Title="Examples" >

      <Image Clip="M0,150 L100,0 200,150Z"
        Source="c:image.jpg" 
        Width="200" Height="150" HorizontalAlignment="Left" />

</Window>