Windows phone 7 之 图片样式效果
裁剪样式:
代码:
Height="150" HorizontalAlignment="Left" Margin="128,40,0,0" Name="image1"
Stretch="Fill" VerticalAlignment="Top" Width="200"
Source="111.jpg"/>
<Image Height="150" HorizontalAlignment="Left" Margin="128,269,0,0"
Name="image2" Source="111.jpg" Stretch="Fill" VerticalAlignment="Top"
Width="200">
<Image.Clip>
<RectangleGeometry
RadiusY="20"/>
</Image.Clip>
</Image>
变型效果:
Height="150" HorizontalAlignment="Left" Margin="125,40,0,0" Name="image1"
Stretch="Fill" VerticalAlignment="Top" Width="200"
Source="111.jpg"/>
<Image Height="150" HorizontalAlignment="Left" Margin="125,253,0,0"
Name="image2" Source="111.jpg" Stretch="Fill" VerticalAlignment="Top"
Width="200">
<Image.RenderTransform>
<RotateTransform
Angle="30"/>
</Image.RenderTransform>
</Image>
模糊样式:
代码:
<Image Height="150" HorizontalAlignment="Left" Margin="125,40,0,0"
Name="image1" Stretch="Fill" VerticalAlignment="Top" Width="200"
Source="111.jpg"/>
<Image Height="150" HorizontalAlignment="Left" Margin="125,253,0,0"
Name="image2" Source="111.jpg" Stretch="Fill" VerticalAlignment="Top"
Width="200">
<Image.RenderTransform>
<RotateTransform
Angle="30"/>
</Image.RenderTransform>
</Image>