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

Support for bent line #517

Open
Enter-tainer opened this issue Feb 28, 2024 · 2 comments
Open

Support for bent line #517

Enter-tainer opened this issue Feb 28, 2024 · 2 comments
Labels
enhancement ⬆️ New feature or request

Comments

@Enter-tainer
Copy link

fletcher has a bend arg for edge so you can draw bent line easily. Example can be seen in https://github.com/typst/packages/tree/main/packages/preview/fletcher/0.4.2 .

It would be more straightforward to add a bend arg to line other than arc-through.

@Enter-tainer
Copy link
Author

@fenjalien fenjalien added the enhancement ⬆️ New feature or request label Feb 28, 2024
@johannes-wolf
Copy link
Member

This would only work if the line has exactly two arguments. I am also not sure if it is good to make line emit non-line shapes. But: this could be implemented as a modifier (and therefore work on any path)!

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

3 participants