@antv/util
Version:
> AntV 底层依赖的工具库,不建议在自己业务中使用。
7 lines (6 loc) • 395 B
TypeScript
import type { LengthFactory, PathLengthFactoryOptions } from '../types';
/**
* Returns the length of a C (cubic-bezier) segment
* or an {x,y} point at a given length.
*/
export declare function segmentCubicFactory(x1: number, y1: number, c1x: number, c1y: number, c2x: number, c2y: number, x2: number, y2: number, distance: number, options: Partial<PathLengthFactoryOptions>): LengthFactory;