@architwankhade/math
Version:
Excalidraw math functions
14 lines (13 loc) • 558 B
TypeScript
import type { ElementsSegmentsMap, GlobalPoint } from "@architwankhade/math/types";
import type { ElementsMap, ExcalidrawElement } from "@architwankhade/element/types";
export declare const getLassoSelectedElementIds: (input: {
lassoPath: GlobalPoint[];
elements: readonly ExcalidrawElement[];
elementsMap: ElementsMap;
elementsSegments: ElementsSegmentsMap;
intersectedElements: Set<ExcalidrawElement["id"]>;
enclosedElements: Set<ExcalidrawElement["id"]>;
simplifyDistance?: number;
}) => {
selectedElementIds: string[];
};