Professional Documents
Culture Documents
Pollito181G0259 PDF
Pollito181G0259 PDF
Pollito"
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"
xmlns:local="clr-namespace:Animaciones"
mc:Ignorable="d"
Title="Pollito" Height="450" Width="800">
<Canvas>
<Path Canvas.Top="235" Canvas.Left="356" Stroke="Black" Fill="YellowGreen"
Data="M100,20 L100,160
Q60,140 40 180
L130,180
L130,20
L100,20
"></Path>
<Ellipse Stroke="Black" Fill="DarkRed" Canvas.Top="150" Canvas.Left="436"
Height="140" Width="70"></Ellipse>
<Canvas.RenderTransform>
<TransformGroup>
<RotateTransform Angle="90" CenterX="470" CenterY="200"
x:Name="rotar"></RotateTransform>
</TransformGroup>
</Canvas.RenderTransform>
<Canvas.Triggers>
<EventTrigger RoutedEvent="Path.Loaded">
<BeginStoryboard>
<Storyboard>
<DoubleAnimation Storyboard.TargetProperty="Angle"
RepeatBehavior="Forever" AutoReverse="True" From="115"
Storyboard.TargetName="rotar"
Duration="0:0:8" To="60" SpeedRatio="5"/>
<DoubleAnimation Storyboard.TargetProperty="Angle"
RepeatBehavior="Forever" AutoReverse="True" From="90"
Storyboard.TargetName="rotar"
BeginTime="0:0:10" Duration="0:0:10" To="-40" SpeedRatio="2"/>
</Storyboard>
</BeginStoryboard>
</EventTrigger>
</Canvas.Triggers>
</Canvas>
</Window>