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); }
public void setFocusScale(float focusScale) { presentation.setDefaultFocusScale(focusScale); Iterator<Shape> iter = presentation.shapeIterator(true); while (iter.hasNext()) { Shape shape = iter.next(); shape.setFocusScale(focusScale); } animationController.readjustDirectly(); }