@antv/util
Version:
<h1 align="center">@antv/util</h1>
7 lines (6 loc) • 319 B
TypeScript
import type { LengthFactory } from '../types';
/**
* Returns a {x,y} point at a given length, the total length and
* the minimum and maximum {x,y} coordinates of a line (L,V,H,Z) segment.
*/
export declare function segmentLineFactory(x1: number, y1: number, x2: number, y2: number, distance: number): LengthFactory;