path.d.ts 835 B

123456789101112
  1. import { PathCommand } from '../types';
  2. declare const parsePathString: (pathString: string) => PathCommand[];
  3. declare const catmullRomToBezier: (crp: any, z: any) => any[];
  4. declare const pathToAbsolute: (pathArray: any) => any[];
  5. declare const pathToCurve: (path: any, path2?: any) => any[];
  6. declare const parsePathArray: (path: any) => any;
  7. declare const rectPath: (x: any, y: any, w: any, h: any, r?: any) => any[][];
  8. declare const intersection: (path1: any, path2: any) => number | any[];
  9. declare const fillPath: (source: any, target: any) => any;
  10. declare const fillPathByDiff: (source: any, target: any) => any;
  11. declare const formatPath: (fromPath: any, toPath: any) => any;
  12. export { catmullRomToBezier, fillPath, fillPathByDiff, formatPath, intersection, parsePathArray, parsePathString, pathToAbsolute, pathToCurve, rectPath, };