methods to create svg elements for image, rect, circle