4 Replies Latest reply on May 4, 2013 4:36 PM by Kishan18

    Skewing(shearing)  effect  in animation(Timeline )

      Hi experts,

      I would like to rotate a rectangle with some particular axis using timeline function(animation).
      But it looks like rectangle doesn't have any method implementation which returns rotation axis property.
      Is there any way to achieve the same ?

      final Rectangle clipRect = new Rectangle();;
      final Timeline timeline = new Timeline();
                timeline .setCycleCount(2);
                timeline .setAutoReverse(true);
                final KeyValue kv1 = new KeyValue(clipRect.rotationAxisProperty(). no method which returns x/y/z axis property ,1);

      Thanks and Best Regards,