UNPKG

ag-charts-community

Version:

Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue

8 lines (7 loc) 364 B
export type SVGCommand = 'z' | 'h' | 'v' | 'm' | 'l' | 't' | 's' | 'q' | 'c' | 'a'; export type SVGPathSegment = { command: SVGCommand; params: number[]; }; export declare function parseSvg(d?: string): SVGPathSegment[] | undefined; export declare function parseSegment(command: SVGCommand, d: string, index: number): [number, SVGPathSegment] | undefined;