Rotate and Rotate transformation

Tom Eugelink tbee at tbee.org
Sun Feb 15 18:32:26 UTC 2015


Just to check that I'm seeing this right:
- The rotate property of a node can only rotate around the node's center.
- The RotateTransition simply manipulates a node's rotate property.

So as soon as you have to rotate around any other point except the center, these two classes cannot be used.

The alternative is:
- Use a Rotate transformation, which allows specifying the rotation center.
- Animate that using a Timeline, because that is the easiest way to animatie a transformation.

Tom


More information about the openjfx-dev mailing list