@plait/draw 0.41.0 → 0.42.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/line.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export declare const getHitLineTextIndex: (board: PlaitBoard, element: PlaitLine
|
|
|
15
15
|
export declare const isHitLineText: (board: PlaitBoard, element: PlaitLine, point: Point) => boolean;
|
|
16
16
|
export declare const drawLine: (board: PlaitBoard, element: PlaitLine) => SVGGElement;
|
|
17
17
|
export declare const getConnectionPoint: (geometry: PlaitGeometry, connection: Point, direction?: Direction, delta?: number) => Point;
|
|
18
|
-
export declare const transformPointToConnection: (board: PlaitBoard, point: Point, hitElement: PlaitShape
|
|
18
|
+
export declare const transformPointToConnection: (board: PlaitBoard, point: Point, hitElement: PlaitShape) => Point;
|
|
19
19
|
export declare const getHitConnectorPoint: (movingPoint: Point, hitElement: PlaitShape, rectangle: RectangleClient) => Point | undefined;
|
|
20
20
|
export declare const getLineTextRectangle: (board: PlaitBoard, element: PlaitLine, index: number) => RectangleClient;
|
|
21
21
|
export declare const getBoardLines: (board: PlaitBoard) => PlaitLine[];
|