参考https://blog.csdn.net/it_faquir/article/details/51168921
canvas.drawRect(0f,0f,getWidth(),getHeight(),paint);
在画布的相对位置画矩形参考
参考https://blog.csdn.net/carson_ho/article/details/62037696