You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Interestingly, in the first iteration we were using constructors. I don't recall why we changed that, probably just trying to minimize boilerplate - so if there's a reason to prefer constructors we should definitely revisit.
Per https://w3ctag.github.io/design-principles/#constructors, can we make these have constructors, instead of adding factory functions to CanvasRenderingContext2D?
If the constructor needs to take a CanvasRenderingContext2D as an argument to associate with the correct canvas, that's reasonable.
The text was updated successfully, but these errors were encountered: