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

Generalize Closed Paths #211

Open
pasbi opened this issue Nov 21, 2021 · 0 comments
Open

Generalize Closed Paths #211

pasbi opened this issue Nov 21, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@pasbi
Copy link
Owner

pasbi commented Nov 21, 2021

Having one boolean flag that determines whether a path is closed is not expressive enough.
The concept used to be inadequate (multi segment paths were forced to be all-closed or all-open).
But since we can join points and make much more sophisticated paths, the concept is completely insufficient.

I think we can drop the is-closed-property completely.
With the new joining-points feature, we can easily create closed paths without that.
However, the brush feature will stop working then because the path does not appear to be closed for the painter anymore.

Plus, it would be nice if the user could select the areas of a path they want to be filled.
Figma supports that (I haven't used it myself, but from the screencast it seems very easy to use and powerful).
I could imagine that some heuristics and clever programming are required in edge cases, when joints are modified.

@pasbi pasbi added the enhancement New feature or request label Nov 21, 2021
@pasbi pasbi mentioned this issue Nov 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant