Comment

Comment by samwillis

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

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

parent samwillis 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton