UNPKG

@plait/draw

Version:

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

6 lines (5 loc) 381 B
import { PlaitBoard } from '@plait/core'; import { Element } from 'slate'; import { PlaitGeometry } from '../interfaces'; export declare const setText: (board: PlaitBoard, element: PlaitGeometry, text: Element, width: number, textHeight: number) => void; export declare const setTextSize: (board: PlaitBoard, element: PlaitGeometry, textWidth: number, textHeight: number) => void;