Exemplo n.º 1
0
        public void InitAnimations()
        {
            PulseAnimator pulseAnimator = new PulseAnimator("pulse", TimeSpan.Zero, 1.03f, 2);

            this.Animations.Add(pulseAnimator);
            this.Animations.Enabled = true;
            this.Animations["pulse"].Pause();
        }
Exemplo n.º 2
0
        protected override void InitAnimations()
        {
            PulseAnimator pulseAnimator = new PulseAnimator(TimeSpan.Zero, 1.15f, 0.7f);

            this.Animations.Add(pulseAnimator);
            (this.Animations["PulseAnimation"] as PulseAnimator).Enabled = false;
            this.Animations.Enabled = true;
        }
Exemplo n.º 3
0
        private void createPulseAnimator()
        {
            TimeSpan      animationLength = TimeSpan.Zero;
            PulseAnimator pulseAnimator   = new PulseAnimator(animationLength, k_PulseAnimatorTargetScale,
                                                              k_PulseAnimatorPulsesPerSecond);

            this.Animations.Add(pulseAnimator);
            this.HighlightChanged += Animations_HighlightChanged;
        }
Exemplo n.º 4
0
        private void initAnimations()
        {
            PulseAnimator faderAnimator = new PulseAnimator(r_AnimationLenght, k_TargetScaleAnimation, k_PulsePerSecondAnimation);

            m_Animations.Add(faderAnimator);
            RotationOrigin = SourceRectangleCenter;

            if (m_ActiveItem)
            {
                m_Animations.Start();
            }
        }