Silverlight4入门之动画(十一)

Silverlight4入门之动画(十一),第1张

概述  <UserControl x:Class="SbSCh7_1.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schem  
<UserControl x:Class="SbSCh7_1.MainPage"    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"    xmlns:d="http://schemas.microsoft.com/Expression/blend/2008"    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"    mc:Ignorable="d"    d:DesignHeight="300" d:DesignWIDth="400">    <GrID x:name="LayoutRoot" Background="White">        <Rectangle Height="100" HorizontalAlignment="left" name="rectangle1" stroke="Black" strokeThickness="1" VerticalAlignment="top" WIDth="200">            <Rectangle.Rendertransform>                <Rotatetransform Angle="45" CenterY="100" CenterX="200"></Rotatetransform>            </Rectangle.Rendertransform>        </Rectangle>    </GrID></UserControl>

<UserControl x:Class="SbSCh7_1.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWIDth="400">

    <GrID x:name="LayoutRoot" Background="White">
        <Rectangle Height="100" HorizontalAlignment="left" name="rectangle1" stroke="Black" strokeThickness="1" VerticalAlignment="top" WIDth="200">
            <Rectangle.Rendertransform>
                <Scaletransform ScaleX="1.5" ScaleY=".5"></Scaletransform>
            </Rectangle.Rendertransform>
        </Rectangle>
    </GrID>
</UserControl>

<UserControl x:Class="SbSCh7_1.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWIDth="400">

    <GrID x:name="LayoutRoot" Background="White">
        <Rectangle Height="100" HorizontalAlignment="left" name="rectangle1" stroke="Black" strokeThickness="1" VerticalAlignment="top" WIDth="200">
            <Rectangle.Rendertransform>
                <Translatetransform X="100" Y="50"></Translatetransform>
            </Rectangle.Rendertransform>
        </Rectangle>
    </GrID>
</UserControl>

 

<!--*******************斜变********************************-->
    <UserControl x:Class="SbSCh7_1.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWIDth="400">

    <GrID x:name="LayoutRoot" Background="White">
        <Rectangle Height="100" HorizontalAlignment="left" name="rectangle1" stroke="Black" strokeThickness="1" VerticalAlignment="top" WIDth="200">
            <Rectangle.Rendertransform>
                <Skewtransform AngleX="0" AngleY="45"></Skewtransform>
            </Rectangle.Rendertransform>
        </Rectangle>
    </GrID>
</UserControl>

 

<!--*******************斜变********************************-->    <UserControl x:Class="SbSCh7_1.MainPage"    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"    xmlns:d="http://schemas.microsoft.com/Expression/blend/2008"    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"    mc:Ignorable="d"    d:DesignHeight="300" d:DesignWIDth="400">    <GrID x:name="LayoutRoot" Background="White">        <Rectangle Height="100" HorizontalAlignment="left" name="rectangle1" stroke="Black" strokeThickness="1" VerticalAlignment="top" WIDth="200">            <Rectangle.Rendertransform>                <Skewtransform AngleX="0" AngleY="45"></Skewtransform>            </Rectangle.Rendertransform>        </Rectangle>    </GrID></UserControl>


 

<!--*******************组合变形********************************-->    <UserControl x:Class="SbSCh7_1.MainPage"    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"    xmlns:d="http://schemas.microsoft.com/Expression/blend/2008"    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"    mc:Ignorable="d"    d:DesignHeight="300" d:DesignWIDth="400">    <GrID x:name="LayoutRoot" Background="White">        <Rectangle Height="100" HorizontalAlignment="left" name="rectangle1" stroke="Black" strokeThickness="1" VerticalAlignment="top" WIDth="200">            <Rectangle.Rendertransform>                <transformGroup>                    <Scaletransform ScaleX="1.5" ScaleY=".5"></Scaletransform>                    <Skewtransform AngleX="30"></Skewtransform>                    <Rotatetransform Angle="45"></Rotatetransform>                    <Translatetransform X="50"></Translatetransform>                </transformGroup>            </Rectangle.Rendertransform>        </Rectangle>    </GrID></UserControl>

 

<UserControl x:Class="SbSCh7_2.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWIDth="400">

    <GrID x:name="LayoutRoot" Background="White">         <Image Height="150" HorizontalAlignment="left" margin="10,10,0" name="image1" Stretch="Fill" VerticalAlignment="top" WIDth="200" Source="/SbSCh7_2;component/quan_zhi_xian.jpg" >             <Image.Projection>                 <PlaneProjection RotationY="30"/>              </Image.Projection>         </Image>     </GrID> </UserControl>

总结

以上是内存溢出为你收集整理的Silverlight4入门动画(十一)全部内容,希望文章能够帮你解决Silverlight4入门之动画(十一)所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1072794.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-26
下一篇 2022-05-26

发表评论

登录后才能评论

评论列表(0条)

保存