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

[Feat] add geometry's description when creating circle or ellipses using editable-layers #151

Open
hadbn opened this issue Nov 4, 2024 · 0 comments

Comments

@hadbn
Copy link

hadbn commented Nov 4, 2024

Target Use Case

When creating vectors using editable-layers, it might be usefull to be able to characterize the drawn geometry, or even to re-draw it. If it is easy to get back to the parameters of the geometry for squares or rectangle, for instance, it is much more expensive for circle and ellipses.
Thus, when a circle is created, its center and radius should be stored in the vector properties.
When an ellipse is created, we should store its center, its axis lengths, and the angle.

Proposal

We should just propagate the properties along all the methods, as they are already calculated. I will propose a PR.

Details

No response

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

1 participant