How to scale (zoom and move) to x,y coordinates of Bitmap in PhotoVIew?
Open
- Dominant language
- Java
- Stars
- 18.8k
- Forks
- 3.9k
- PR merge metrics
- No merged PRs in 30d
Description
At start I have Bitmap and x,y point on the Bitmap.
**How to scale, zoom and move image to x,y coordinates of the bitmap?**
```
int bitmapWidth = bitmap.getWidth();//2418
int bitmapHeight = bitmap.getHeight();//1889
float x = 1209f;
float y = 944f;
float targetScale = 4f;
attacher.setScale(targetScale, x,y, false);//it doesnt work
```
Contributor guide
Assessment
This issue has not been assessed yet.