@plait/draw
Version:
Implementation of the core logic of the flowchart drawing tool plugin.
5 lines (4 loc) • 333 B
TypeScript
import { Point } from '@plait/core';
export declare const getCenterPointsOnPolygon: (points: Point[]) => Point[];
export declare const getCrossingPointBetweenPointAndPolygon: (corners: Point[], point: Point) => Point[];
export declare const getPolygonEdgeByConnectionPoint: (corners: Point[], point: Point) => [Point, Point] | null;