JavaFX correct scaling
I created a sample app to demonstrate one approach to performing scaling of a node in a viewport on a scroll event (e.g. scroll in and out by rolling the mouse wheel). The key logic to the sample for scaling a group placed within a StackPane: final double SCALE_DELTA = 1.1; final StackPane zoomPane = … Read more