@antv/util
Version:
<h1 align="center">@antv/util</h1>
6 lines (5 loc) • 309 B
TypeScript
import type { PathArray, PathLengthFactoryOptions } from '../types';
/**
* Returns [x,y] coordinates of a point at a given length of a shape.
*/
export declare function getPointAtLength(pathInput: string | PathArray, distance: number, options?: Partial<PathLengthFactoryOptions>): import("../types").Point;