Support creating shapes with points like [[x1,y1],[x2,y2]].
Merge pull request #218 from Arthaey/master

Support creating shapes with points like [[x1,y1],[x2,y2]].