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

Selected Rounding of Corners in Arc #160

Open
dtrinh100 opened this issue Apr 23, 2020 · 2 comments
Open

Selected Rounding of Corners in Arc #160

dtrinh100 opened this issue Apr 23, 2020 · 2 comments

Comments

@dtrinh100
Copy link

Hi, I would love to see the ability to round only specific corners in an arc. Right now, I know we have the ability to round all corners using cornerRadius, but most of the time I find myself only wanting to round 2 corners, rather than all of them.

@mbostock
Copy link
Member

Mind sharing a visual example of what you want?

@dtrinh100
Copy link
Author

dtrinh100 commented Apr 23, 2020

Sure, so something like this:

rounded arcs(1)

The way that I am doing something like this in D3 right now is using the arc generator to generate 2 non overlapping arc, then adding a rounded corner to said arcs, but this creates an issue where the arcs that meet each other is also rounded, which is not exactly what I want.

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

No branches or pull requests

2 participants