コード例 #1
0
        private DoubleAnimation GetStreakCounterImageSizeAnimation(int streakCount)
        {
            if (!ComboService.AnimationOnStreakCouunter(streakCount))
            {
                return(null);
            }

            return(new DoubleAnimation()
            {
                EasingFunction = new BackEase {
                    Amplitude = 2, EasingMode = EasingMode.EaseOut
                },
                From = 0.85,
                To = 1,
                Duration = TimeSpan.FromMilliseconds(100)
            });
        }