This discussion is archived
4 Replies Latest reply: May 4, 2013 9:36 AM by Kishan18 RSS

Skewing(shearing)  effect  in animation(Timeline )

Kishan18 Newbie
Currently Being Moderated
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,
Kishan

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points