UNPKG

melt

Version:

The next generation of Melt UI. Built for Svelte 5.

6 lines (5 loc) 338 B
export * from "./hull"; import { type Point, type Polygon } from "./hull"; export declare function getPointsFromEl(el: HTMLElement): [Point, Point, Point, Point]; export declare function computeConvexHullFromElements(els: Array<HTMLElement>): Array<Point>; export declare function pointInPolygon(point: Point, polygon: Polygon): boolean;