remove polygon points from data before adding to shape's userData
add polygon lineDashLengths and lineDashPhase properties