If you want to clear a part of the SurfaceView you can set this mode to the painter:
paint.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.CLEAR));
then you can use it to draw whatever shape you want in order to obtain the effect. This basically means, "draw transparently".