@plait/draw 0.56.1 → 0.56.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/engines/basic-shapes/star.mjs +2 -2
- package/esm2022/geometry.component.mjs +2 -1
- package/esm2022/plugins/with-draw-hotkey.mjs +3 -3
- package/esm2022/plugins/with-draw.mjs +2 -2
- package/esm2022/utils/geometry.mjs +17 -5
- package/fesm2022/plait-draw.mjs +22 -9
- package/fesm2022/plait-draw.mjs.map +1 -1
- package/package.json +1 -1
- package/utils/geometry.d.ts +2 -1
package/package.json
CHANGED
package/utils/geometry.d.ts
CHANGED
|
@@ -80,4 +80,5 @@ export declare const getDefaultTextPoints: (board: PlaitBoard, centerPoint: Poin
|
|
|
80
80
|
export declare const insertElement: (board: PlaitBoard, element: PlaitGeometry) => void;
|
|
81
81
|
export declare const createTextElement: (board: PlaitBoard, points: [Point, Point], text?: string | Element, textHeight?: number) => PlaitGeometry;
|
|
82
82
|
export declare const createDefaultGeometry: (board: PlaitBoard, points: [Point, Point], shape: GeometryShapes) => PlaitGeometry;
|
|
83
|
-
export declare const editText: (element: PlaitGeometry) => void;
|
|
83
|
+
export declare const editText: (board: PlaitBoard, element: PlaitGeometry) => void;
|
|
84
|
+
export declare const rerenderGeometryActive: (board: PlaitBoard, element: PlaitGeometry) => void;
|