Closed postacik closed 10 years ago
When the image is zoomed, I want PhotoViewer to scroll to a given coordinate (x,y) of the image if that coordinate is not visible.
Is there a method in the library to achieve this?
I tried to use zoomTo() function but it didn't work or I didn't use it with proper parameters.
Scroll of image is determined by current display rectangle and scale level, You can obtain both using RectF getDisplayRect() and float getScale()
RectF getDisplayRect()
float getScale()
When the image is zoomed, I want PhotoViewer to scroll to a given coordinate (x,y) of the image if that coordinate is not visible.
Is there a method in the library to achieve this?
I tried to use zoomTo() function but it didn't work or I didn't use it with proper parameters.