private async void Donut_Background()
        {
            await Donut.RotateTo(10, 0);

            await Donut.ScaleTo(1.5, 0);

            await Donut.TranslateTo(20, -800, 100000);

            await Donut.TranslateTo(-20, 0, 1);
        }
Exemple #2
0
 private void Donut_Background()
 {
     Task.WhenAny <bool>
     (
         Donut.RotateTo(10, 0),
         Donut.ScaleTo(1.5, 0),
         Donut.TranslateTo(20, -1000, 100000),
         Donut.TranslateTo(-20, 1000, 0),
         Donut.TranslateTo(20, -1000, 100000)
     );
 }