@plait/draw
Version:
Implementation of the core logic of the flowchart drawing tool plugin.
4 lines (3 loc) • 360 B
TypeScript
import { DrawOptions, DrawShapes, PlaitGeometry, ShapeEngine, TextRectangleOptions } from '../interfaces';
import { PlaitElement } from '@plait/core';
export declare const getEngine: <T extends PlaitElement = PlaitGeometry, P extends DrawOptions = DrawOptions, K extends TextRectangleOptions = TextRectangleOptions>(shape: DrawShapes) => ShapeEngine<T, P, K>;