12345678910 |
- import type { PathCommand } from './types';
- declare type Pos = [number, number];
- /**
- * create bezier spline from catmull rom spline
- * @param {Array} crp Catmull Rom Points
- * @param {boolean} z Spline is loop
- * @param {Array} constraint Constraint
- */
- declare function catmullRom2Bezier(crp: number[], z?: boolean, constraint?: Pos[]): PathCommand[];
- export default catmullRom2Bezier;
|