title: draw path with hole ( android )
body: <p>Does anyone have a hint for me for the following problem ?</p>
  
  <p>I would like to draw a filled path ( canvas ) which has a hole in it. 
  In SVG the path definition is the follow :</p>
  
  <pre><code>M 100 100 L 200 100 L 200 200 L 100 200 L 100 100 z
  M 125 125 L 175 125 L 175 175 L 125 175 L 125 125 z
  </code></pre>
  
  <p>I would like to draw this path ( shape ) without path subtract path ( because of specific software design )</p>
  
  <p>My try with java draws me a full square without a hole. I am wondering, why an SVG viewer draws the hole with the mentoined definition and the java canvas doesn't ? where is the difference ? How can I achieve this ?</p>
  
  <pre><code>            Path p=new Path();
          p.moveTo(100, 100);
          p.lineTo(200,100);
          p.lineTo(200,200);
          p.lineTo(100,200);
          p.close();
          p.moveTo(150, 150);
          p.moveTo(180, 150);
          p.moveTo(180, 180);
          p.moveTo(150, 180);
          p.close();
          canvas.drawPath(p, paint);
  </code></pre>
  
  <p>Any hint ?</p>
  
  <p>regards</p>