Canvas roundRect()
Newly available since 2023-04-11
The roundRect()
methods draw a rounded rectangle to a 2D canvas.
Learn more
Specifications
- HTML (#dom-context-2d-roundrect), from HTML Workstream (WHATWG).
Browser support
- Chrome 99 Released on 2022-03-01
- Chrome Android 99 Released on 2022-03-01
- Edge 99 Released on 2022-03-03
- Firefox 112 Released on 2023-04-11
- Firefox for Android 112 Released on 2023-04-11
- Safari 16.4 Released on 2023-03-27
- Safari on iOS 16.4 Released on 2023-03-27
Usage (according to Chrome Platform Status)
~0.053% of page loads. More data at chromestatus.
Web Platform Tests (WPT)
View the latest WPT test results for this featureView as JSON | Edit this feature | Report an issue | Web-features entry: source, dist