Closed EasonGaoDevelop closed 7 years ago
Hey! Thanks for using our library! Can you share some code? Kind of hard to grasp what you are saying :)
hello, I refer to your demo like this code self.layer.quadrilateral = AGKQuadMake(self.topLeftControl.center, self.topRightControl.center, self.bottomRightControl.center, self.bottomLeftControl.center);
how to remove quadrilateral setting
When i set up self.imageView.layer.quadrilateral after the finger drags the imageView out of the screen, I have touched in the touchesMoved method, but it is invalid, and I guess that anchorPoint has changed
Yep, anchor point must be set to 0,0 for the quad to render correctly. Is the blue square on top left your desired result after removing the quadrilateral?
I need imageView to be dragged in red box exactly, i need to remove the blue box in the top left corner and what should i do
Sorry, there's just too little context and code here for me to help you. Maybe you can zip a demo project showing your problem?
Can you give me your email? I made a zip demo project to you!
Awesome. It's in my bio here https://github.com/hfossli :)
I don't think I have received any mail :)
I'm sorry, I have other things to delay, I will give you a demo mail at tomorrow
Hello, demo has been sent to your hfossli@gmail.com
Hello, when i set quadrilateral, the position of the layer is shifted, how to remove the quadrilateral settings, I use a uiimageview to achieve the quadrilateral deformation function, uiimageview can be dragged within a certain range, but as long as using quadrilateral, Accurate, so i need to remove the quadrilateral settings after the deformation