Updated LineStyle to work with circles and polygons