@plait/draw 0.81.1 → 0.81.3
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 +1 -1
- package/utils/hit.d.ts +1 -1
- package/utils/shape.d.ts +1 -1
package/package.json
CHANGED
package/utils/hit.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export declare const isRectangleHitRotatedPoints: (rectangle: RectangleClient, p
|
|
|
16
16
|
export declare const getHitDrawElement: (board: PlaitBoard, elements: (PlaitDrawElement | PlaitCustomGeometry)[]) => PlaitElement;
|
|
17
17
|
export declare const getFirstFilledDrawElement: (board: PlaitBoard, elements: (PlaitDrawElement | PlaitCustomGeometry)[]) => PlaitGeometry | PlaitCustomGeometry<string, Point[], string> | null;
|
|
18
18
|
export declare const isFilledDrawElement: (board: PlaitBoard, element: PlaitDrawElement | PlaitCustomGeometry) => boolean;
|
|
19
|
-
export declare const getSolidElements: (elements: PlaitElement[]) => (import("../interfaces/
|
|
19
|
+
export declare const getSolidElements: (elements: PlaitElement[]) => (import("../interfaces/image").PlaitImage | import("../interfaces/line").PlaitLine | import("../interfaces").PlaitText)[] | null;
|
|
20
20
|
export declare const isHitDrawElement: (board: PlaitBoard, element: PlaitElement, point: Point, isStrict?: boolean) => boolean | null;
|
|
21
21
|
export declare const isHitEdgeOfShape: (board: PlaitBoard, element: PlaitShapeElement, point: Point, hitDistanceBuffer: number) => boolean;
|
|
22
22
|
export declare const isInsideOfShape: (board: PlaitBoard, element: PlaitShapeElement, point: Point, hitDistanceBuffer: number) => boolean;
|
package/utils/shape.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { PlaitShapeElement, TableSymbols } from '../interfaces';
|
|
2
|
-
export declare const getElementShape: (value: PlaitShapeElement) => import("../interfaces").GeometryShapes | import("../interfaces").SwimlaneSymbols
|
|
2
|
+
export declare const getElementShape: (value: PlaitShapeElement) => import("../interfaces").GeometryShapes | TableSymbols.table | import("../interfaces").SwimlaneSymbols;
|