subsampling-scale-image-view
subsampling-scale-image-view copied to clipboard
Question: How to pre-focus on certain region on the image, before the user can interact?
As the title says. Suppose I have some resource, and I want to focus at some point of it (x,y coordinates from the original resolution of the image), is it possible? I want the image to fill the container when focusing on a specific point. If I choose the center, it would be exactly like looking at a center-crop. After all, later the user can zoom&pan already, so how can I do it myself via code?