export class SVGUtils { static matrixToTransformAttr ( matrix ) { const { a , b , c , d , e , f } = matrix ; return `matrix(${ a }, ${ b }, ${ c }, ${ d }, ${ e }, ${ f })` ; } static createMatrix ( ) { return document . createElementNS ( "http://www.w3.org/2000/svg" , "svg" ) . createSVGMatrix ( ) ; } }