UNPKG

@antv/util

Version:

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

8 lines (7 loc) 382 B
import type { PathArray, LengthFactory, PathLengthFactoryOptions } from '../types'; /** * Returns a {x,y} point at a given length * of a shape, the shape total length and * the shape minimum and maximum {x,y} coordinates. */ export declare function pathLengthFactory(pathInput: string | PathArray, distance?: number, options?: Partial<PathLengthFactoryOptions>): LengthFactory;