@plait/draw 0.92.0-next.2 → 0.92.1
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/index.d.ts +2 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1102,7 +1102,7 @@ declare const isRectangleHitRotatedPoints: (rectangle: RectangleClient, points:
|
|
|
1102
1102
|
declare const getHitDrawElement: (board: PlaitBoard, elements: (PlaitDrawElement | PlaitCustomGeometry)[]) => PlaitElement;
|
|
1103
1103
|
declare const getFirstFilledDrawElement: (board: PlaitBoard, elements: (PlaitDrawElement | PlaitCustomGeometry)[]) => PlaitGeometry | PlaitCustomGeometry<string, Point[], string> | null;
|
|
1104
1104
|
declare const isFilledDrawElement: (board: PlaitBoard, element: PlaitDrawElement | PlaitCustomGeometry) => boolean;
|
|
1105
|
-
declare const getSolidElements: (elements: PlaitElement[]) => (
|
|
1105
|
+
declare const getSolidElements: (elements: PlaitElement[]) => (_plait_draw.PlaitImage | PlaitLine | _plait_draw.PlaitText)[] | null;
|
|
1106
1106
|
declare const isHitDrawElement: (board: PlaitBoard, element: PlaitElement, point: Point, isStrict?: boolean) => boolean | null;
|
|
1107
1107
|
declare const isHitEdgeOfShape: (board: PlaitBoard, element: PlaitShapeElement, point: Point, hitDistanceBuffer: number) => boolean;
|
|
1108
1108
|
declare const isInsideOfShape: (board: PlaitBoard, element: PlaitShapeElement, point: Point, hitDistanceBuffer: number) => boolean;
|
|
@@ -1402,7 +1402,7 @@ declare const DrawTransforms: {
|
|
|
1402
1402
|
removeSwimlaneColumn: (board: _plait_core.PlaitBoard, swimlane: _plait_draw.PlaitSwimlane, index: number, count?: number) => void;
|
|
1403
1403
|
updateSwimlaneCount: (board: _plait_core.PlaitBoard, swimlane: _plait_draw.PlaitSwimlane, count: number) => void;
|
|
1404
1404
|
setTableFill: (board: _plait_core.PlaitBoard, element: _plait_draw.PlaitBaseTable, fill: string | null, path: _plait_core.Path) => void;
|
|
1405
|
-
insertDrawByVector: (board: _plait_core.PlaitBoard, point: _plait_core.Point, shape: _plait_draw.GeometryShapes | _plait_draw.SwimlaneDrawSymbols, vector: _plait_core.Vector) => _plait_draw.PlaitCommonGeometry<"geometry", [_plait_core.Point, _plait_core.Point], _plait_draw.GeometryShapes> |
|
|
1405
|
+
insertDrawByVector: (board: _plait_core.PlaitBoard, point: _plait_core.Point, shape: _plait_draw.GeometryShapes | _plait_draw.SwimlaneDrawSymbols, vector: _plait_core.Vector) => _plait_draw.PlaitSwimlane | _plait_draw.PlaitCommonGeometry<"geometry", [_plait_core.Point, _plait_core.Point], _plait_draw.GeometryShapes> | null;
|
|
1406
1406
|
};
|
|
1407
1407
|
|
|
1408
1408
|
interface TableData {
|