@uwdata/mosaic-plot
Version:
A Mosaic-powered plotting framework based on Observable Plot.
9 lines • 397 B
TypeScript
/**
* Parse an SVG path into a list of drawing commands.
* @param {string} path The SVG path string to parse
* @returns {[string, ...number][]} A list of drawing commands.
* Each command has a single letter as the first entry. All subsequent
* entries are numeric parameter values.
*/
export function parsePath(path: string): [string, ...number][];
//# sourceMappingURL=parse-path.d.ts.map