polygons or lines