JavaFX imageview real coordinates translateX and translateY
And why the translateX and translateY is bad position on my scene ? I start on coordinate x = 100 y = 200 in real my real coordinate y = -24.8 ... why ? I need real coordinates when is my ImageView is ? primaryStage.setTitle("Title"); Group root = new Group(); Scene scene = new Scene(root, 800, 600, Color.WHITE); // border.prefHeightProperty().bind(scene.heightProperty()); //border.prefWidthProperty().bind(scene.widthProperty()); Image im = new Image("Images/universe.jpg", 800, 600, true, true); ImageView iv = new ImageView(im); Image iv1 = new Image("Images/Asteroid.png", 60, 50, false, false