Ejemplo n.º 1
0
 public override void draw(android.graphics.Canvas canvas)
 {
     if (mPicture != null)
     {
         android.graphics.Rect bounds = getBounds();
         canvas.save();
         canvas.clipRect(bounds);
         canvas.translate(bounds.left, bounds.top);
         canvas.drawPicture(mPicture);
         canvas.restore();
     }
 }