UNPKG

@antv/util

Version:

<h1 align="center">@antv/util</h1>

7 lines (6 loc) 395 B
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;