How to create a morph effect from one shape to another?
The javafx 1.3 tutorial describes how to convert a rectangle to a circle? ...
The code is clear and very ... simple.
Is there an equivalent conversion in javafx 2.2?
source to share
Waiting for a better solution, I found a job.
My solution is based on the morphing algorithm available in jfxrt.jar ( com.sun.javafx.sg.prism.ShapeEvaluator
) and method javafx.scene.shape.Shape#createFromGeomShape
. Since these parts of the code are not visible, I copied them.
The code is available in this value .
source to share
As per existing javadoc and function description:
http://javafx-jira.kenai.com/browse/RT-11089
there is no such conversion supported by JavaFX 2.2.
This feature does not currently have a fix version, so it is not planned to appear in JavaFX 8 (at least for now). Perhaps he will appear in the future.
By the way, you can vote for this feature. If it has a high priority, it will most likely be fixed.
source to share