@excalidraw/math
Version:
Excalidraw math functions
8 lines (7 loc) • 318 B
TypeScript
import type { Scene } from "./Scene";
import type { ExcalidrawElement } from "./types";
export interface Alignment {
position: "start" | "center" | "end";
axis: "x" | "y";
}
export declare const alignElements: (selectedElements: ExcalidrawElement[], alignment: Alignment, scene: Scene) => ExcalidrawElement[];