title: DrawImage with 9 arguments with kinetic js
body: <p>How can I use the image object of Kinetics but for drawing an image with 9 arguments. For example my code is </p>
  
  <pre><code> ctx.drawImage(imageObj, x, y, w, h, canvasWidth, canvasHeight, w, h);
  </code></pre>
  
  <p>how can I adjust this one to the image object:</p>
  
  <pre><code>image = new Kinetic.Image({
      image: imageObj,
      x: x,
      y: y,
      width: w,
      height: h,
      name: "image"
  });
  </code></pre>
  
  <p>thanks in advance.</p>