add polygons to pdfdeck