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
Section titled “Parameters”fabricJS parsed and simplified path commands
transform
Section titled “transform”matrix that represent the transformation
pathOffset?
Section titled “pathOffset?”Path.pathOffset
Returns
Section titled “Returns”the transformed path