excalidraw/src/scene/index.ts
2020-03-15 10:06:41 -07:00

21 lines
572 B
TypeScript

export { isOverScrollBars } from "./scrollbars";
export {
getSelectedIndices,
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";