I have a polygon created below:
var s = Snap('#test');
var polygon = s.polyline(200, 286, 250, 200, 350, 200, 400, 286, 350, 373, 250, 373);
polygon.scale(2, 2);
How do I get the polygon to scale? I want it to grow to twice its size from the center.