@xtctwins/tctwins-core 1.0.7 → 1.0.8
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
|
@@ -11,7 +11,7 @@ export declare class AngleMeasurement extends Component {
|
|
|
11
11
|
* @type {AngleMeasurementsPlugin}
|
|
12
12
|
*/
|
|
13
13
|
plugin: AngleMeasurementsPlugin;
|
|
14
|
-
|
|
14
|
+
|
|
15
15
|
/**
|
|
16
16
|
* Sets whether this AngleMeasurement indicates that its measurement is approximate.
|
|
17
17
|
*
|
|
@@ -28,6 +28,7 @@ export declare class AngleMeasurement extends Component {
|
|
|
28
28
|
* @type {Boolean}
|
|
29
29
|
*/
|
|
30
30
|
get approximate(): boolean;
|
|
31
|
+
|
|
31
32
|
/**
|
|
32
33
|
* Sets whether this AngleMeasurement is visible or not.
|
|
33
34
|
*
|
|
@@ -112,7 +113,41 @@ export declare class AngleMeasurement extends Component {
|
|
|
112
113
|
* @type {Boolean}
|
|
113
114
|
*/
|
|
114
115
|
get angleVisible(): boolean;
|
|
115
|
-
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Sets if the labels are visible.
|
|
119
|
+
*
|
|
120
|
+
* @type {Boolean}
|
|
121
|
+
*/
|
|
122
|
+
set labelsVisible(value: Boolean);
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Gets if the labels are visible.
|
|
126
|
+
*
|
|
127
|
+
* @type {Boolean}
|
|
128
|
+
*/
|
|
129
|
+
get labelsVisible();
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Sets if this DistanceMeasurement appears highlighted.
|
|
133
|
+
* @param highlighted
|
|
134
|
+
*/
|
|
135
|
+
setHighlighted(highlighted: Boolean): any;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Sets if the wires, dots ad labels will fire "mouseOver" "mouseLeave" and "contextMenu" events.
|
|
139
|
+
*
|
|
140
|
+
* @type {Boolean}
|
|
141
|
+
*/
|
|
142
|
+
set clickable(value: Boolean);
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Gets if the wires, dots ad labels will fire "mouseOver" "mouseLeave" and "contextMenu" events.
|
|
146
|
+
*
|
|
147
|
+
* @type {Boolean}
|
|
148
|
+
*/
|
|
149
|
+
get clickable();
|
|
150
|
+
|
|
116
151
|
/**
|
|
117
152
|
* Gets the origin {@link Marker}.
|
|
118
153
|
*
|
|
@@ -141,4 +176,21 @@ export declare class AngleMeasurement extends Component {
|
|
|
141
176
|
* @type {Number}
|
|
142
177
|
*/
|
|
143
178
|
get angle(): number;
|
|
144
|
-
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Gets the color of the angle measurement.
|
|
182
|
+
*
|
|
183
|
+
* The color is an HTML string representation, eg. "#00BBFF" and "blue".
|
|
184
|
+
*
|
|
185
|
+
* @type {String}
|
|
186
|
+
*/
|
|
187
|
+
get color(): string;
|
|
188
|
+
|
|
189
|
+
/** Sets the color of the angle measurement.
|
|
190
|
+
*
|
|
191
|
+
* The color is given as an HTML string representation, eg. "#00BBFF" and "blue".
|
|
192
|
+
*
|
|
193
|
+
* @type {String}
|
|
194
|
+
*/
|
|
195
|
+
set color(value);
|
|
196
|
+
}
|
|
@@ -72,6 +72,23 @@ export declare class DistanceMeasurement extends Component {
|
|
|
72
72
|
*/
|
|
73
73
|
get targetVisible(): boolean;
|
|
74
74
|
|
|
75
|
+
/**
|
|
76
|
+
* Sets if the axis-aligned wires between {@link DistanceMeasurement#origin} and {@link DistanceMeasurement#target} are enabled.
|
|
77
|
+
*
|
|
78
|
+
* Wires are only shown if enabled and visible.
|
|
79
|
+
*
|
|
80
|
+
* @type {Boolean}
|
|
81
|
+
*/
|
|
82
|
+
set axisEnabled(value: boolean);
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Gets if the axis-aligned wires between {@link DistanceMeasurement#origin} and {@link DistanceMeasurement#target} are enabled.
|
|
86
|
+
*
|
|
87
|
+
* Wires are only shown if enabled and visible.
|
|
88
|
+
*
|
|
89
|
+
* @type {Boolean}
|
|
90
|
+
*/
|
|
91
|
+
get axisEnabled();
|
|
75
92
|
/**
|
|
76
93
|
* Sets if the direct point-to-point wire between {@link DistanceMeasurement.origin} and {@link DistanceMeasurement.target} is visible.
|
|
77
94
|
*
|
|
@@ -100,20 +117,108 @@ export declare class DistanceMeasurement extends Component {
|
|
|
100
117
|
*/
|
|
101
118
|
get axisVisible(): boolean;
|
|
102
119
|
|
|
120
|
+
/**
|
|
121
|
+
* Sets if the X-axis-aligned wire between {@link DistanceMeasurement#origin} and {@link DistanceMeasurement#target} is visible.
|
|
122
|
+
*
|
|
123
|
+
* Wires are only shown if enabled and visible.
|
|
124
|
+
*
|
|
125
|
+
* @type {Boolean}
|
|
126
|
+
*/
|
|
127
|
+
set xAxisVisible(value: boolean);
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Gets if the X-axis-aligned wires between {@link DistanceMeasurement#origin} and {@link DistanceMeasurement#target} are visible.
|
|
131
|
+
*
|
|
132
|
+
* Wires are only shown if enabled and visible.
|
|
133
|
+
*
|
|
134
|
+
* @type {Boolean}
|
|
135
|
+
*/
|
|
136
|
+
get xAxisVisible();
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Sets if the Y-axis-aligned wire between {@link DistanceMeasurement#origin} and {@link DistanceMeasurement#target} is visible.
|
|
140
|
+
*
|
|
141
|
+
* Wires are only shown if enabled and visible.
|
|
142
|
+
*
|
|
143
|
+
* @type {Boolean}
|
|
144
|
+
*/
|
|
145
|
+
set yAxisVisible(value: boolean);
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Gets if the Y-axis-aligned wires between {@link DistanceMeasurement#origin} and {@link DistanceMeasurement#target} are visible.
|
|
149
|
+
*
|
|
150
|
+
* Wires are only shown if enabled and visible.
|
|
151
|
+
*
|
|
152
|
+
* @type {Boolean}
|
|
153
|
+
*/
|
|
154
|
+
get yAxisVisible();
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* Sets if the Z-axis-aligned wire between {@link DistanceMeasurement#origin} and {@link DistanceMeasurement#target} is visible.
|
|
158
|
+
*
|
|
159
|
+
* Wires are only shown if enabled and visible.
|
|
160
|
+
*
|
|
161
|
+
* @type {Boolean}
|
|
162
|
+
*/
|
|
163
|
+
set zAxisVisible(value: boolean);
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* Gets if the Z-axis-aligned wires between {@link DistanceMeasurement#origin} and {@link DistanceMeasurement#target} are visible.
|
|
167
|
+
*
|
|
168
|
+
* Wires are only shown if enabled and visible.
|
|
169
|
+
*
|
|
170
|
+
* @type {Boolean}
|
|
171
|
+
*/
|
|
172
|
+
get zAxisVisible();
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Sets if the labels are visible.
|
|
176
|
+
*
|
|
177
|
+
* @type {Boolean}
|
|
178
|
+
*/
|
|
179
|
+
set labelsVisible(value: boolean);
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* Gets if the labels are visible.
|
|
183
|
+
*
|
|
184
|
+
* @type {Boolean}
|
|
185
|
+
*/
|
|
186
|
+
get labelsVisible();
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* Sets if this DistanceMeasurement appears highlighted.
|
|
190
|
+
* @param highlighted
|
|
191
|
+
*/
|
|
192
|
+
setHighlighted(highlighted: boolean): any;
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* Sets if the wires, dots ad labels will fire "mouseOver" "mouseLeave" and "contextMenu" events, or ignore mouse events altogether.
|
|
196
|
+
*
|
|
197
|
+
* @type {Boolean}
|
|
198
|
+
*/
|
|
199
|
+
set clickable(value: boolean);
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* Gets if the wires, dots ad labels will fire "mouseOver" "mouseLeave" and "contextMenu" events.
|
|
203
|
+
*
|
|
204
|
+
* @type {Boolean}
|
|
205
|
+
*/
|
|
206
|
+
get clickable();
|
|
207
|
+
|
|
103
208
|
/**
|
|
104
209
|
* Gets the origin {@link Marker}.
|
|
105
210
|
*
|
|
106
211
|
* @type {Marker}
|
|
107
212
|
*/
|
|
108
213
|
get origin(): Marker;
|
|
109
|
-
|
|
214
|
+
|
|
110
215
|
/**
|
|
111
216
|
* Gets the target {@link Marker}.
|
|
112
217
|
*
|
|
113
218
|
* @type {Marker}
|
|
114
219
|
*/
|
|
115
220
|
get target(): Marker;
|
|
116
|
-
|
|
221
|
+
|
|
117
222
|
/**
|
|
118
223
|
* Gets the World-space direct point-to-point distance between {@link DistanceMeasurement.origin} and {@link DistanceMeasurement.target}.
|
|
119
224
|
*
|