title: How to code for the eraser as like paint in android canvas?
body: <p>In my drawing application, I am doing painting with on canvas with this code:</p>
  
  <pre><code>currentPaint = new Paint();
              currentPaint.setDither(true);
              currentPaint.setColor(0x00000000);
              currentPaint.setStyle(Paint.Style.STROKE);
              currentPaint.setStrokeJoin(Paint.Join.ROUND);
              currentPaint.setStrokeCap(Paint.Cap.ROUND);
              //currentPaint.setStrokeWidth(3);
  </code></pre>
  
  <p>No i want to implement the eraser as same as paint.
  Is it possible to do it on canvas ? If yes then Please help me for it.</p>
  
  <p>Thanks.</p>