Added option for text, circles, rectangles. Improved path dashes functionality.