UNPKG

@plait/draw

Version:

Implementation of the core logic of the flowchart drawing tool plugin.

13 lines (12 loc) 1.09 kB
import { PlaitBoard, PlaitElement } from '@plait/core'; import { PlaitArrowLine, PlaitCustomGeometry, PlaitDrawElement, PlaitGeometry, PlaitSwimlane, PlaitVectorLine } from '../interfaces'; import { PlaitImage } from '../interfaces/image'; export declare const getSelectedDrawElements: (board: PlaitBoard, elements?: PlaitElement[]) => PlaitDrawElement[]; export declare const getSelectedGeometryElements: (board: PlaitBoard) => PlaitGeometry[]; export declare const getSelectedCustomGeometryElements: (board: PlaitBoard) => PlaitCustomGeometry<string, import("@plait/core").Point[], string>[]; export declare const getSelectedArrowLineElements: (board: PlaitBoard) => PlaitArrowLine[]; export declare const getSelectedVectorLineElements: (board: PlaitBoard) => PlaitVectorLine[]; export declare const getSelectedImageElements: (board: PlaitBoard) => PlaitImage[]; export declare const isSingleSelectSwimlane: (board: PlaitBoard) => boolean; export declare const isSingleSelectLine: (board: PlaitBoard) => boolean; export declare const getSelectedSwimlane: (board: PlaitBoard) => PlaitSwimlane;