UNPKG

372 BTypeScriptView Raw
1import type { PathCommand } from './types';
2declare type Pos = [number, number];
3/**
4 * create bezier spline from catmull rom spline
5 * @param {Array} crp Catmull Rom Points
6 * @param {boolean} z Spline is loop
7 * @param {Array} constraint Constraint
8 */
9export declare function catmullRom2Bezier(crp: number[], z?: boolean, constraint?: Pos[]): PathCommand[];
10export {};