Open brettz9 opened 5 years ago
That exact code snippet works, actually. The full list of exported classes, functions and constants is here:
Ah, ok, cool. :) And thanks. But I'd suggest documenting or at least listing or linking to these on the README.
I also think the descriptions could better clarify or be subcategorized at the heading or intro level--i.e., without needing to drill down to the individual definition. Namely, which of the so-called "Non-standard" APIs are actually enhanced or modified standards and which are wholly non-standard--including the utility functions.
Feature
Could the API for
createImageData
be replaced by or supplemented byImageData
for slightly easier parity with the browser constructor?Steps to Produce
Your Environment
npm list canvas
oryarn list canvas
): 2.6.0