@plait/common 0.75.0-next.8 → 0.75.0
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/package.json
CHANGED
package/utils/resize.d.ts
CHANGED
|
@@ -24,4 +24,5 @@ export declare const removeResizing: (board: PlaitBoard, key: string) => void;
|
|
|
24
24
|
export declare const isEdgeHandle: (board: PlaitBoard, handle: ResizeHandle) => boolean;
|
|
25
25
|
export declare const isCornerHandle: (board: PlaitBoard, handle: ResizeHandle) => boolean;
|
|
26
26
|
export declare const resetPointsAfterResize: (originRectangle: RectangleClient, currentRectangle: RectangleClient, originSelectionCenterPoint: Point, currentSelectionCenterPoint: Point, angle: number) => [Point, Point];
|
|
27
|
-
export declare const
|
|
27
|
+
export declare const hasMoreThanOnePoint: (element: PlaitElement) => boolean;
|
|
28
|
+
export declare const hasResizeHandle: (board: PlaitBoard, element: PlaitElement) => boolean;
|