This content has been marked as final. Show 3 replies
Apply a 180 degree rotate transform about it's bottom left corner followed by a translate right by the width of the image.
See http://jewelsea.wordpress.com/2011/11/16/rotation-transform-example/ for some pointer code (not exactly what you need but hopefully will aid you in understanding how to achieve what you want).
Thanks for the advice J. Unfortunately it doesn't quite do it. I tried all forms of rotate and shift but they don't seem to do it.
Rotation about x_axis should works (javafx 2.2):
Translate flipTranslation = new Translate(0,imageView.getImage().getHeight()); Rotate flipRotation = new Rotate(180,Rotate.X_AXIS); imageView.getTransforms().addAll(flipTranslation,flipRotation);
Edited by: 918075 on 2013-02-01 07:44
Edited by: 918075 on 2013-02-01 07:47