Closed jloubet closed 11 years ago
Hi. I had this on my pipeline for some time now and finally implemented a 'checkBounds' setting that does what you want. Instead of blocking gestures, it will correct the transformations when gestures are finished. Rotation is not supported though. All the best.
Heitor, thank you very much, that works great. For rotation validation I think you should use trigonometric function to make the validation. Thanks again.
I'll take the challenge when I have some time again ;)
Hello,
I'm using your library, I want that the picture don't be able to go out of the cut area.
I almost achieve this with the following modifications in the code:
The code is working but have a bug with the pitch, I would like to discuss this with you, please take a look to the code. Thanks!
For the Pan:
For the Pinch: