Ejemplo n.º 1
0
        public AnimatedFloat(AnimateOperation o)
        {
            operation  = o;
            step_timer = new StepStopwatch(Duration.Seconds(0.050f)).Chain(z => z.Start());

            is_animating = true;
            sleep_timer  = new Timer(Duration.Seconds(0.5f));
        }
Ejemplo n.º 2
0
        static public AutoAnimatedFloat CreateAutoAnimatedFloat(this View item, AnimateOperation animate_operation)
        {
            AutoAnimatedFloat auto_animated_float = new AutoAnimatedFloat <PeriodicProcess_Android>(animate_operation);

            auto_animated_float.OnAnimate += delegate() {
                item.Invalidate();
            };

            return(auto_animated_float);
        }
Ejemplo n.º 3
0
 public AutoAnimatedFloat(AnimateOperation o) : this(new AnimatedFloat(o))
 {
 }