@antv/util
Version:
> AntV 底层依赖的工具库,不建议在自己业务中使用。
7 lines (6 loc) • 301 B
TypeScript
import type { PathArray, SegmentProperties } from '../types';
/**
* Returns the segment, its index and length as well as
* the length to that segment at a given length in a path.
*/
export declare function getPropertiesAtLength(pathInput: string | PathArray, distance?: number): SegmentProperties;