@melt-ui/svelte
Version:

6 lines (5 loc) • 319 B
TypeScript
export * from './hull.js';
import { type Point, type Polygon } from './hull.js';
export declare function getPointsFromEl(el: HTMLElement): Array<Point>;
export declare function makeHullFromElements(els: Array<HTMLElement>): Array<Point>;
export declare function pointInPolygon(point: Point, polygon: Polygon): boolean;