WPF Image图像裁剪

Image类用于在WPF中显示位图图像。Source属性获取图像文件名。Clip属性对图像裁剪,下面的例子将把图像裁剪成椭圆形。
<Image Source="Tulips.jpg" Width="200" Height="150" HorizontalAlignment="Left">
    <Image.Clip>
        <EllipseGeometry RadiusX="100" RadiusY="75" Center="100,75"/>
    </Image.Clip>
</Image>
原文地址:https://www.cnblogs.com/fornet/p/2976183.html