@glowjs/core 2024.7.4 → 2024.8.5

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.
@@ -2287,6 +2287,56 @@ export declare class DecorateGrid extends Entity {
2287
2287
  */
2288
2288
  unbuild(): void;
2289
2289
  }
2290
+ /**
2291
+ * 测距工具
2292
+ */
2293
+ export declare class DistanceTool {
2294
+ /**
2295
+ * 应用对象
2296
+ */
2297
+ app: App;
2298
+ private _started;
2299
+ private _eventIds;
2300
+ private _poins;
2301
+ private _mesh;
2302
+ private _tips;
2303
+ private _nodes;
2304
+ /**
2305
+ * 提示文本颜色
2306
+ */
2307
+ tipColor: string;
2308
+ /**
2309
+ * 线颜色
2310
+ */
2311
+ lineColor: string;
2312
+ /**
2313
+ * 点颜色
2314
+ */
2315
+ pointColor: string;
2316
+ /**
2317
+ * 点大小
2318
+ */
2319
+ pointSize: number;
2320
+ /**
2321
+ * 最小距离
2322
+ */
2323
+ minDistance: number;
2324
+ /**
2325
+ * 构造函数
2326
+ * @param app 应用对象
2327
+ */
2328
+ constructor(app: App);
2329
+ private _onLeftPointerDown;
2330
+ private _onRightPointerUp;
2331
+ /**
2332
+ * 开始
2333
+ */
2334
+ start(): void;
2335
+ /**
2336
+ * 停止
2337
+ */
2338
+ stop(): void;
2339
+ }
2290
2340
  /**
2291
2341
  * 门窗
2292
2342
  */