UNPKG

@antv/path-util

Version:

A common util collection for antv projects

3 lines (2 loc) 188 B
import type { PathCommand } from './types'; export default function pathToCurve(path: PathCommand[] | string, needZCommandIndexes?: boolean): PathCommand[] | (number[] | PathCommand[])[];