@plait/draw 0.92.1 → 0.92.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/fesm2022/plait-draw.mjs +56 -23
- package/fesm2022/plait-draw.mjs.map +1 -1
- package/index.d.ts +16 -16
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -987,9 +987,6 @@ declare const getDefaultUMLProperty: (shape: UMLSymbols) => {
|
|
|
987
987
|
} | {
|
|
988
988
|
width: number;
|
|
989
989
|
height: number;
|
|
990
|
-
} | {
|
|
991
|
-
width: number;
|
|
992
|
-
height: number;
|
|
993
990
|
} | {
|
|
994
991
|
width: number;
|
|
995
992
|
height: number;
|
|
@@ -1001,25 +998,12 @@ declare const getDefaultUMLProperty: (shape: UMLSymbols) => {
|
|
|
1001
998
|
} | {
|
|
1002
999
|
width: number;
|
|
1003
1000
|
height: number;
|
|
1004
|
-
texts: {
|
|
1005
|
-
id: _plait_draw.GeometryCommonTextKeys;
|
|
1006
|
-
text: string;
|
|
1007
|
-
align: Alignment;
|
|
1008
|
-
}[];
|
|
1009
1001
|
} | {
|
|
1010
1002
|
width: number;
|
|
1011
1003
|
height: number;
|
|
1012
|
-
texts: {
|
|
1013
|
-
text: string;
|
|
1014
|
-
align: Alignment;
|
|
1015
|
-
}[];
|
|
1016
1004
|
} | {
|
|
1017
1005
|
width: number;
|
|
1018
1006
|
height: number;
|
|
1019
|
-
texts: {
|
|
1020
|
-
text: string;
|
|
1021
|
-
align: Alignment;
|
|
1022
|
-
}[];
|
|
1023
1007
|
} | {
|
|
1024
1008
|
width: number;
|
|
1025
1009
|
height: number;
|
|
@@ -1038,9 +1022,25 @@ declare const getDefaultUMLProperty: (shape: UMLSymbols) => {
|
|
|
1038
1022
|
} | {
|
|
1039
1023
|
width: number;
|
|
1040
1024
|
height: number;
|
|
1025
|
+
texts: {
|
|
1026
|
+
id: _plait_draw.GeometryCommonTextKeys;
|
|
1027
|
+
text: string;
|
|
1028
|
+
align: Alignment;
|
|
1029
|
+
}[];
|
|
1030
|
+
} | {
|
|
1031
|
+
width: number;
|
|
1032
|
+
height: number;
|
|
1033
|
+
texts: {
|
|
1034
|
+
text: string;
|
|
1035
|
+
align: Alignment;
|
|
1036
|
+
}[];
|
|
1041
1037
|
} | {
|
|
1042
1038
|
width: number;
|
|
1043
1039
|
height: number;
|
|
1040
|
+
texts: {
|
|
1041
|
+
text: string;
|
|
1042
|
+
align: Alignment;
|
|
1043
|
+
}[];
|
|
1044
1044
|
};
|
|
1045
1045
|
declare const getAutoCompletePoints: (board: PlaitBoard, element: PlaitShapeElement, isToActive?: boolean) => [Point, Point, Point, Point];
|
|
1046
1046
|
declare const getHitIndexOfAutoCompletePoint: (movingPoint: Point, points: Point[]) => number;
|