Beispiel #1
0
        public AnimatableRootClock(IRootClock rootClock, bool isConnected)
        {
            this.rootClock   = rootClock;
            this.isConnected = isConnected;

            clocks = new List <IClock>();
        }
        public AnimatableRootClock(IRootClock rootClock, bool isConnected)
        {
            this.rootClock = rootClock;
            this.isConnected = isConnected;

            clocks = new List<IClock>();
        }
Beispiel #3
0
 public void Begin(IRootClock rootClock)
 {
     this.rootClock = rootClock;
     VerifyRootClock();
     beginTime = rootClock.Time;
     currentFillBehavior = Timeline.FillBehavior;
     rootClock.AddClock(this);
     Tick(rootClock.Time);
 }
Beispiel #4
0
 public void Begin(IRootClock rootClock)
 {
     this.rootClock = rootClock;
     VerifyRootClock();
     beginTime           = rootClock.Time;
     currentFillBehavior = Timeline.FillBehavior;
     rootClock.AddClock(this);
     Tick(rootClock.Time);
 }
Beispiel #5
0
        protected override void OnInheritanceParentChanged(DependencyObject oldInheritanceParent, DependencyObject newInheritanceParent)
        {
            base.OnInheritanceParentChanged(oldInheritanceParent, newInheritanceParent);

            RootClock = newInheritanceParent is IAnimatable ? ((IAnimatable)newInheritanceParent).RootClock : null;
        }
Beispiel #6
0
        protected override void OnInheritanceParentChanged(DependencyObject oldInheritanceParent, DependencyObject newInheritanceParent)
        {
            base.OnInheritanceParentChanged(oldInheritanceParent, newInheritanceParent);

            RootClock = newInheritanceParent is IAnimatable ? ((IAnimatable)newInheritanceParent).RootClock : null;
        }