@antv/util
Version:
<h1 align="center">@antv/util</h1>
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;