You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

7 lines
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;