UNPKG

@antv/util

Version:

> AntV 底层依赖的工具库,不建议在自己业务中使用。

8 lines (7 loc) 341 B
import type { Point, PathArray, PointProperties } from '../types'; /** * Returns the point and segment in path closest to a given point as well as * the distance to the path stroke. * @see https://bl.ocks.org/mbostock/8027637 */ export declare function getPropertiesAtPoint(pathInput: string | PathArray, point: Point): PointProperties;