android - How to resize a path? -


I am trying to get an app in Android that works with a finger and it is capable of managing zoom. should be there. So I have an image in the background and I pull it up, but when I zoom in and out, I have to change the size of both the images and the path is drawn and I do not know how. I used Zdnet's code to apply it and it works very well for background image, so I thought that the only way to create "resize the path", the mattext (matrix) end of the touch Had to keep in, but it does not allow me to attract properly and the shape of the path does not change.

The mPath.transform should work, it is hard to do without the code what's wrong.

Alternatively, you can use canvas scale if you want to scale everything taken by the same factor.

Comments