add paintDonut, paintMask