public void changeAnimationPath( AnimationPathLayouter pathLayouter, AnimationStyle animationStyle) { Shape focussedShape = animationController.getLastFocussedShape(); presentation.setDefaultAnimationPathLayouter(pathLayouter); pathLayouter.layoutAnimationPath(presentation, animationStyle); animationController.readjustSmoothlyTo(focussedShape); }
public void changeLayout(Layouter layouter) { Shape focussedShape = animationController.getLastFocussedShape(); layouter.layout(presentation); // layouter.animate(presentation, animationStyle); presentation.setDefaultLayouter(layouter); presentation.resetStartCamera(); animationController.readjustSmoothlyTo(focussedShape); }