title: Resize a path in android canvas
body: <p>I have drawn an path in my canvas. On Single tap I want to resize the path. Say I want to make it double the original size.</p>
  
  <p>I have tried <a href="http://developer.android.com/reference/android/graphics/Path.html#transform%28android.graphics.Matrix%29" rel="noreferrer">path.transform</a> but it shifts the path to a different location in canvass. This is the code I used for that</p>
  
  <pre><code>Matrix translateMatrix = new Matrix();
  translateMatrix.setTranslate(100,0);
  p.transform(translateMatrix); 
  </code></pre>
  
  <p>How can I resize a path in android?</p>