public void changeAnimationPath( AnimationPathLayouter pathLayouter, AnimationStyle animationStyle) { Shape focussedShape = animationController.getLastFocussedShape(); presentation.setDefaultAnimationPathLayouter(pathLayouter); pathLayouter.layoutAnimationPath(presentation, animationStyle); animationController.readjustSmoothlyTo(focussedShape); }