browser ⟩ canvas ⟩ graphics state ⟩ fill/stroke styles ⟩ pattern
first argument to .createPattern()arrow-up-right method should be an <img> or <canvas>.
<img>
<canvas>
the <img> or <canvas> does NOT need to be in the DOM.
CanvasRenderingContext2Darrow-up-right ⟩ .createPattern()arrow-up-right
Last updated 3 years ago