excalidraw/src/scene/index.ts
Daishi Kato 41cb1fbeba
feat: sharpness (#1931)
* feat: sharpness

* feat: fill sharp lines, et al.

* fix: rotated positioning

* chore: simplify path with Q

* fix: hit test inside sharp elements

* make sharp / round buttons work properly

* fix tsc tests

* update snapshots

* update snapshots

* fix: sharp arrow creation error

* fix merge and test

* avoid type assertion

* remove duplicate helper

Co-authored-by: dwelle <luzar.david@gmail.com>
2020-08-14 17:59:43 +02:00

18 lines
496 B
TypeScript

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