drawing multi- lines and polygons