Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JavaFX 2.2 How to define a pivot point for a RotateTransition object.

915866Feb 10 2013 — edited Feb 11 2013
Hi,

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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 11 2013
Added on Feb 10 2013
3 comments
927 views