title: FabricJs and Polygon transformed coordinates
body: <p>We're new to Fabric.js. We're using it to draw polygons on our canvas in overlay on a real scene. We need to move, to rotate and resize the polygon and then get back the veterxes coordinates.</p>
  
  <p>After the transformation we used the API.</p>
  
  <pre><code>var originalPolyPoints = pol.get('points').map(function (p) 
  {
      return {x: p.x , y: p.y };
  });
  </code></pre>
  
  <p>This way, the coordinates are always the original but not the changed ones.
  How can we get the new coordinates?</p>
  
  <p>Tried to get the transformMatrix of the polygon, but it was null. Even if we have the matrix, how can we apply it?</p>