UNPKG

js-draw

Version:

Draw pictures using a pen, touchscreen, or mouse! JS-draw is a drawing library for JavaScript and TypeScript.

6 lines (5 loc) 344 B
import { Point2 } from '@js-draw/math'; import Editor from '../../../Editor'; import Selection from '../Selection'; declare const showSelectionContextMenu: (selectionBox: Selection | null, editor: Editor, canvasAnchor: Point2, preferSelectionMenu: boolean, clearSelection: () => void) => Promise<void>; export default showSelectionContextMenu;