跳转到内容

makePathSimpler

makePathSimpler(path): TSimplePathData

Parameters

path: TComplexPathData

the array of commands of a parsed SVG path for Path

Returns

TSimplePathData

the simplified array of commands of a parsed SVG path for Path TODO: figure out how to remove the type assertions in a nice way

Defined in

src/util/path/index.ts:351