๐Ÿ”ฐpatterns

browser โŸฉ canvas โŸฉ graphics state โŸฉ fill/stroke styles โŸฉ pattern

  • first argument to .createPattern() method should be an <img> or <canvas>.

  • the <img> or <canvas> does NOT need to be in the DOM.

Last updated