title: How to get the current pattern-object contents of a canvas-context (2D)?
body: <p>(Using Firefox32, and Win7. But in other browsers I need it to work, too.)</p>
  
  <p>I can't find a command to retrieve the content of the pattern-object that I set on the 2D-context.</p>
  
  <p>Is there no direct way to get the value array and the width and height?</p>
  
  <p>And if there is really no direct way, is there a workaround? </p>
  
  <p>I could just use fillRect with the pattern on a hidden canvas and then reading out the canvas. But then, how to get the correct height and width?</p>