@zsviczian/excalidraw
Version:
Excalidraw as a React component
13 lines (12 loc) • 519 B
TypeScript
import type { ElementsSegmentsMap, GlobalPoint } from "@excalidraw/math/types";
import type { ExcalidrawElement } from "@excalidraw/element/types";
export declare const getLassoSelectedElementIds: (input: {
lassoPath: GlobalPoint[];
elements: readonly ExcalidrawElement[];
elementsSegments: ElementsSegmentsMap;
intersectedElements: Set<ExcalidrawElement["id"]>;
enclosedElements: Set<ExcalidrawElement["id"]>;
simplifyDistance?: number;
}) => {
selectedElementIds: string[];
};