3 ms·
Can we use these yet? ctx.createConicGradient() - 15.15% of users (Firefox since 90 and Safari since 15, not yet in Chromium/Blink without `new-canvas-2d-api`
by samwillis 5y ago
Can we use these yet?
ctx.createConicGradient() - 15.15% of users (Firefox since 90 and Safari since 15, not yet in Chromium/Blink without `new-canvas-2d-api` flag)
https://caniuse.com/?search=createConicGradient https://caniuse.com/?search=createConicGradient
Not found on "Can I Use":
- All text modifiers
- ctx.roundRect()
- context.reset()
- CanvasFilter
- contextlost/contextrestored
Anyone know when these will be available in browsers?
Looks like in chrome they are all under the `new-canvas-2d-api` flag:
https://chromestatus.com/feature/6051647656558592 https://chromestatus.com/feature/6051647656558592
- JKCalhoun 5y agoNew is always frustrating. Instead I'll write my own context.reset_bogus() that simply calls canvas.width = canvas.width Same for round rect. Some of the other features though ... not so simple, ha ha.
- mysteryDate 5y agoThese are all available as of Chrome M99! Thanks for reminding me to update caniuse!
- geewee 5y agoWhat about all the other browsers?
- mysteryDate 5y agoSo, these functions are are now currently part of the whatwg spec, so other browsers have stated their intention to implement them and this is underway.
- geewee 5y agoWonderful!