protected override void LoadComplete()
            {
                base.LoadComplete();

                dot.MoveToX(1.0f, movement_duration, Easing)
                .Then(pause_duration)
                .MoveToX(0.0f, movement_duration, Easing)
                .Loop(pause_duration);
                dot.MoveToY(1.0f, movement_duration)
                .Then(pause_duration)
                .MoveToY(0.0f, movement_duration)
                .Loop(pause_duration);
            }
Ejemplo n.º 2
0
            protected override void LoadComplete()
            {
                base.LoadComplete();

                Visible.BindValueChanged(e => Alpha = e.NewValue ? 1 : 0, true);

                dot.MoveToX(1.0f, movement_duration, Easing)
                .Then(pause_duration)
                .MoveToX(0.0f, movement_duration, Easing)
                .Loop(pause_duration);
                dot.MoveToY(1.0f, movement_duration)
                .Then(pause_duration)
                .MoveToY(0.0f, movement_duration)
                .Loop(pause_duration);
            }