Snap - Transform Matrix

Adding transform matrix to elements.
Scenerio:
Snap initially creates a rect. Then the rect is dynamically transformed via a Matrix.

Snap has an various Matrix methods:

myMatrix.tanslate(x,y)
myMatrix.scale(x,y)
myMatrix.rotate(angle,x,y)
myMatrix.skew(angleX,angleY)

SVG Source:
Javascript:

OK in: IE11/Edge/CH55/FF52