excalidraw/src/scene/index.ts

20 lines
550 B
TypeScript

export { isOverScrollBars } from "./scrollbars";
export {
deleteSelectedElements,
isSomeElementSelected,
getElementsWithinSelection,
getCommonAttributeOfSelectedElements,
getSelectedElements,
getTargetElement,
} from "./selection";
export { normalizeScroll, calculateScrollCenter } from "./scroll";
export {
hasBackground,
hasStroke,
getElementAtPosition,
getElementContainingPosition,
hasText,
} from "./comparisons";
export { getZoomOrigin, getNormalizedZoom } from "./zoom";
export { globalSceneState } from "./globalScene";