コード例 #1
0
  public void changeAnimationPath(
      AnimationPathLayouter pathLayouter, AnimationStyle animationStyle) {
    Shape focussedShape = animationController.getLastFocussedShape();

    presentation.setDefaultAnimationPathLayouter(pathLayouter);
    pathLayouter.layoutAnimationPath(presentation, animationStyle);
    animationController.readjustSmoothlyTo(focussedShape);
  }
コード例 #2
0
  public void changeLayout(Layouter layouter) {
    Shape focussedShape = animationController.getLastFocussedShape();

    layouter.layout(presentation);
    // layouter.animate(presentation, animationStyle);

    presentation.setDefaultLayouter(layouter);
    presentation.resetStartCamera();
    animationController.readjustSmoothlyTo(focussedShape);
  }