add polygon support

to handle svg polygon
ex) polygon fill="#5E5E5E" points="304.701,17.239 314.654,0 324.607,17.239 		"