Files
railwaysystem/RuoYi-Vue/ruoyi-ui/node_modules1/@antv/path-util/lib/catmull-rom-2-bezier.d.ts
T
2026-09-10 15:40:10 +08:00

11 lines
388 B
TypeScript

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;