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

Is there a way to use other attributes of the the SVG rectangle, such as "rx?" #196

Open
abalter opened this issue Nov 8, 2021 · 4 comments

Comments

@abalter
Copy link

abalter commented Nov 8, 2021

Are the other attributes listed here possible? For instance, rounded corners?

https://developer.mozilla.org/en-US/docs/Web/SVG/Element/rect

@pshihn
Copy link
Collaborator

pshihn commented Nov 8, 2021

No rounded corner support as such but one can create any custom path to draw rounded rectangle.
That's what excalidraw.com does for it's rounded rectangles

@abalter
Copy link
Author

abalter commented Nov 8, 2021

Ok. gotcha.

@abalter abalter closed this as completed Nov 8, 2021
@pshihn
Copy link
Collaborator

pshihn commented Nov 8, 2021

I'm reopening the issue - to consider adding this feature.

@pshihn pshihn reopened this Nov 8, 2021
@abalter
Copy link
Author

abalter commented Nov 8, 2021

Awesome! Love rough.js. I made a small donation :)

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

2 participants