Register / Login
JavaFX GTK and rotate
Nick van Alst
posted 2 years ago
I'm have some trouble with javaFX.
my linux arm box won't work with eglfb for some reason. (still trying to figure that part out)
but if i force my
application with GTK it starts just fine.
most of the trasistions work, for example a simple fade.
But somehow when i do a rotate transition it goes wrong:
the image disappears as soon as i start it.
when the transistion is complete, it shows the image (rotated) at the top left of the screen.
When i rotate it back, it disappears again. and once complete it is back at the original position.
i tried 2 pieces of code's:
first: rotateLock = new
Rotate rotationTransform = new Rotate(0, 79, 0);
and then with a Timeline.
Does anyone have any experience with this? or does the GTK platform simply not support these kinds of effects?
Processing... Please wait child window
rotate image java2d
How to change the dimensions of an image object
Insider's Guide to Mixing Swing and JavaFX