@antv/util
Version:
> AntV 底层依赖的工具库,不建议在自己业务中使用。
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;