mArcPaint的setStrokeWidth宽度是一半外缘一半内缘的,因此measure时应该是 width = (int) (mRadius * 2 + mBoardWidth); height = (int) (mRadius * 2 + mBoardWidth);