Browse Source

Adjust rainbow example

pull/2163/head
Jumar Macato 7 years ago
parent
commit
2fe9378ebc
No known key found for this signature in database GPG Key ID: B19884DAC3A5BF3F
  1. 11
      samples/RenderDemo/Pages/AnimationsPage.xaml

11
samples/RenderDemo/Pages/AnimationsPage.xaml

@ -106,19 +106,20 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
</Style>
<Style Selector="Border.Rect6">
<Style.Animations>
<Animation Duration="0:0:4"
IterationCount="Infinite">
<Animation Duration="0:0:3"
IterationCount="Infinite"
PlaybackDirection="Alternate">
<KeyFrame Cue="0%">
<Setter Property="Background" Value="Red"/>
</KeyFrame>
<KeyFrame Cue="15%">
<Setter Property="Background" Value="Orange"/>
<Setter Property="Background" Value="Yellow"/>
</KeyFrame>
<KeyFrame Cue="30%">
<Setter Property="Background" Value="Yellow"/>
<Setter Property="Background" Value="Green"/>
</KeyFrame>
<KeyFrame Cue="45%">
<Setter Property="Background" Value="Green"/>
<Setter Property="Background" Value="Cyan"/>
</KeyFrame>
<KeyFrame Cue="60%">
<Setter Property="Background" Value="Blue"/>

Loading…
Cancel
Save