add `repaint` doc