UNPKG

395 BTypeScriptView Raw
1import type { LengthFactory, PathLengthFactoryOptions } from '../types';
2/**
3 * Returns the length of a C (cubic-bezier) segment
4 * or an {x,y} point at a given length.
5 */
6export 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;