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

Add resize handles #99

Closed
tqmitaca opened this issue Apr 15, 2020 · 8 comments
Closed

Add resize handles #99

tqmitaca opened this issue Apr 15, 2020 · 8 comments

Comments

@tqmitaca
Copy link

Hi,
Congratulations on your project.
Is it possible to add two "handler" (upper-right and lower-left) on shape to facilitate the resize of shape ?

image

Thanks
Giovanni

@wieslawsoltes
Copy link
Owner

It's bit tricky for current implementation but doable. If you check the code ellipse shape is created for two points TopLeft and BottomRight. The Core2D has notion of points and shapes are created based to points defining them. This is import distinction specific to Core2D. I am planning to add decorator with resize handler them will manage resizing of shape points.

@tqmitaca
Copy link
Author

Thank you.

@wieslawsoltes wieslawsoltes changed the title Add two "handler" for resize Apr 16, 2020
@wieslawsoltes
Copy link
Owner

Work in progress:
2020-04-16_19-58-21

@wieslawsoltes
Copy link
Owner

@tqmitaca Initial support for resize handles was added to master branch.

@wieslawsoltes
Copy link
Owner

Resize handles in action:
2020-04-18_16-03-55

@wieslawsoltes
Copy link
Owner

2020-04-18_16-08-18

@wieslawsoltes
Copy link
Owner

2020-04-18_16-11-55

@tqmitaca
Copy link
Author

Good job.
Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants