mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Add Arrowheads to Arrows (#2452)
Co-authored-by: dwelle <luzar.david@gmail.com> Co-authored-by: Lipis <lipiridis@gmail.com>
This commit is contained in:
parent
bd8e860d7f
commit
c291edfc44
25 changed files with 711 additions and 101 deletions
|
@ -28,6 +28,8 @@ export const canChangeSharpness = (type: string) =>
|
|||
|
||||
export const hasText = (type: string) => type === "text";
|
||||
|
||||
export const canHaveArrowheads = (type: string) => type === "arrow";
|
||||
|
||||
export const getElementAtPosition = (
|
||||
elements: readonly NonDeletedExcalidrawElement[],
|
||||
isAtPositionFn: (element: NonDeletedExcalidrawElement) => boolean,
|
||||
|
|
|
@ -10,6 +10,7 @@ export { normalizeScroll, calculateScrollCenter } from "./scroll";
|
|||
export {
|
||||
hasBackground,
|
||||
hasStroke,
|
||||
canHaveArrowheads,
|
||||
canChangeSharpness,
|
||||
getElementAtPosition,
|
||||
getElementContainingPosition,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue