transformPath
transformPath(
path
,transform
,pathOffset
?):TSimplePathData
Defined in: src/util/path/index.ts:966
Transform a path by transforming each segment. it has to be a simplified path or it won’t work. WARNING: this depends from pathOffset for correct operation
Parameters
path
fabricJS parsed and simplified path commands
transform
matrix that represent the transformation
pathOffset?
Path.pathOffset
Returns
the transformed path