Here is the expected behavior.
Before zoom:
After zoom:
I am trying to do this by adjusting the HPosition and VPosition of the ScrollPane by calculating the coordinates in percentage of the mouse cursor in the ImageView. but it is a bit jumpy. Sample project attached.
Before zoom:
After zoom:
I am trying to do this by adjusting the HPosition and VPosition of the ScrollPane by calculating the coordinates in percentage of the mouse cursor in the ImageView. but it is a bit jumpy. Sample project attached.
Attachments
Last edited: