add graphics.drawPath method