如何移动椭圆

时间:2013-11-28 19:56:13

标签: c# wpf

我想移动一个有足球图像的椭圆..我想通过使用椭圆的XY坐标移动它....之前我用边距和填充移动它...任何人请帮助我.. ......我将非常感谢他/她..我的代码是......

                                              

                <TransformGroup >
                      <RotateTransform Angle="40" CenterX="0" CenterY="0" />
                         <ScaleTransform/>
                         <SkewTransform AngleY="-0.963"/>
                      <RotateTransform/>
                         <TranslateTransform Y="2.221"/>
                </TransformGroup>
              </Image.RenderTransform>
          </Image>
        <Image HorizontalAlignment="Left" Name="img2"  Height="20"     
             Source="C:\Users\ATECH\Desktop\project\6.png" VerticalAlignment="Center" Width="570"       
             OpacityMask="#FF955555" RenderTransformOrigin="0.751,0.478" Grid.Row="2"     
              Canvas.Left="253"Canvas.Top="224">


        </Image>
    </Canvas>
</Grid>
</Window>

0 个答案:

没有答案