Developing common methods to draw components