Rotating RotateTransform
Angle angle
CenterY, CenterX center point
And reduce the left and right as do a comparison
-
<StackPanel Orientation=
"Horizontal">
-
<Image Source=
"Image/Dog.jpg" Width=
"200" Height=
"200">
-
<Image.RenderTransform>
-
<RotateTransform Angle=
"45"></RotateTransform>
-
</Image.RenderTransform>
-
</Image>
-
<Grid>
-
<Image Source=
"Image/Dog.jpg" Width=
"200" Height=
"200" Opacity=
"0.4">
-
<Image.RenderTransform>
-
<RotateTransform Angle=
"45"></RotateTransform>
-
</Image.RenderTransform>
-
</Image>
-
<Image Source=
"Image/Dog.jpg" Width=
"200" Height=
"200">
-
<Image.RenderTransform>
-
<RotateTransform CenterX=
"100" CenterY=
"100" Angle=
"45"></RotateTransform>
-
</Image.RenderTransform>
-
</Image>
-
</Grid>
-
</StackPanel>
-
</Grid>