add roundRect#828
Conversation
|
Alas, that |
Oh yup, from https://html.spec.whatwg.org/multipage/canvas.html#dom-context-2d-roundrect
I wonder if we should create a new enum type that encodes this or just stick with |
| /** Creates a path for a rounded rectangle with a specified position, width, height, and corner radii. */ | ||
| def roundRect(x: Double, y: Double, w: Double, h: Double, radii: js.Any): Unit = js.native |
There was a problem hiding this comment.
Thanks for the PR! Instead of js.Any can we add several overloads of this method for the various types of radii?
Hi there!
Before submitting a PR containing any Scala changes, please make sure you...
sbt prePRapi-reportsThanks for contributing!