Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue while resizing the rectangle #2

Open
nirmalprajapat712 opened this issue Nov 8, 2017 · 7 comments
Open

Issue while resizing the rectangle #2

nirmalprajapat712 opened this issue Nov 8, 2017 · 7 comments

Comments

@nirmalprajapat712
Copy link

Hello Chintan , i gone through your project but i found some issues like:
1 -> When i am resizing the rectangle by touching the colorballs (mostly the upper left ball and lower right ball ) , the rectangle perimeter/border disappears.
2 -> When a colorball crosses the other colorball ,the rectangle again goes disappear.

Please suggest any solution.
Thanks

@ChintanRathod
Copy link
Owner

This is very simple code to create a rectangle on view. It require finishing to work with dynamic approaches. Due to lack of time I am not maintaining it for some time.

@nirmalprajapat712
Copy link
Author

sir please suggest any solution so that i can implement the remaining part to avoid these issues.
I'll manage with the first point , you just tell me the solution of second one that I have mentioned above .
Thnks

@ChintanRathod
Copy link
Owner

For 2nd point, we require to prevent rectangle to be reverse. Right corner ball must not cross left top ball. Right bottom ball must have positive difference to top left ball. This way you can prevent disappear of rectangle.

@asifjavaid
Copy link

Hi all,
I am using this code for my application. The drawing box is disappearing on Marshmallow devices and lower but working fine on Na-gut and higher devices.

Can you please let us know how can we fix it?

Thank you.

@ChintanRathod
Copy link
Owner

@asifjavaid I am sorry to say but I am no longer maintaining this project due to time crunches. I guess to fulfill your requirement, you can use Android-Image-Cropper library. It might be helpful.

@samiraj99
Copy link

hey, what if I want to implement multiple rectangles like this?

@ChintanRathod
Copy link
Owner

@samiraj99 You require to initialize same class for 2 times. You will able to put more than 1 rectangles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants