add svg polygon support