JavaFX 2.2 How to define a pivot point for a RotateTransition object.
915866Feb 10 2013 — edited Feb 11 2013Hi,
My problem is that I'm not able to find a way to define a pivot point for a rotation transition element. In other words, I need an animated equivalent, if available, for the following code snippet:
Rotate rotate = new Rotate(0,*XPivot*,*YPivot*);
Object.getTransforms().clear();
Object.getTransforms().add(rotate);
Any tip or solution is much appreciated
Thanks
Edited by: user10280119 on Feb 10, 2013 11:56 AM