title: How to create a eraser for a drawing html app?
body: <p>I am new on EaselJS and I want to create an eraser as brush. This is what I am using for drawing but I want to do the same thing with transparent.</p>
  
  <pre><code>//brush tool
  var brush = new createjs.Bitmap(app.loader.getResult('brush'));
  brush.name = 'brush';
  brush.x = 50;
  brush.y = -34;
  brush.addEventListener('click', this.brushHandler);
  this.toolsContainer.addChild(brush);    
  
  
  this.brushSizes = new createjs.Container();
  this.brushSizes.x = brush.x + 40;
  this.brushSizes.y = brush.y - 20;
  this.brushSizes.visible = false;
  this.toolsContainer.addChild(this.brushSizes);
  
  
  for(var p = 0; p &lt; this.sizes.length; p++){
      var size = new createjs.Shape();
      size.name = 'size'+p;
      size.graphics.beginFill('#FFFFFF');
      size.graphics.drawCircle(0,0,this.sizes[p]);
      size.addEventListener('click', this.brushHandler);     
      size.x = (p==1) ? p * 40 : p * 45; 
      this.brushSizes.addChild(size);
  }
  </code></pre>