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

Please support roundRect #40

Open
shamansir opened this issue Nov 8, 2022 · 2 comments
Open

Please support roundRect #40

shamansir opened this issue Nov 8, 2022 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@shamansir
Copy link

shamansir commented Nov 8, 2022

https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/roundRect

This shape isn't trivial to implement with paths, unfortunately.

@joakin joakin added the help wanted Extra attention is needed label Nov 8, 2022
@joakin
Copy link
Owner

joakin commented Nov 8, 2022

Sounds good and should be fairly easy to support. Would you like to try a pull request?

@fgerodez
Copy link

Hi,

I made a PR to add the method to the elm api : https://github.com/joakin/elm-canvas/pull/41/files

If you can tell me what you think :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants