paint compon graphic set color background rect width height current fig current fig set locat current fig paint 