private static void AnimationSpeedChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            HeartAnimationSpeed animationSpeed = (HeartAnimationSpeed)e.NewValue;
            HeartsCanvas        heartsCanvas   = d as HeartsCanvas;

            if (heartsCanvas != null)
            {
                switch (animationSpeed)
                {
                case HeartAnimationSpeed.Fast:
                {
                    heartsCanvas._Timer.Interval = TimeSpan.FromMilliseconds(FastMilliseconds);
                    break;
                }

                case HeartAnimationSpeed.Normal:
                {
                    heartsCanvas._Timer.Interval = TimeSpan.FromMilliseconds(NormalsMilliseconds);
                    break;
                }

                case HeartAnimationSpeed.Slow:
                {
                    heartsCanvas._Timer.Interval = TimeSpan.FromMilliseconds(SlowMilliseconds);
                    break;
                }
                }
            }
        }
 public HeartShape(HeartAnimationSpeed animationSpeed) : this()
 {
     AnimationSpeed = animationSpeed;
 }