mxdraw 0.1.133 → 0.1.134
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/dist/lib/MxModule/MxDbSVG/index.d.ts +1 -1
- package/dist/lib/MxModule/MxDbSVG/index.js +1 -1
- package/dist/lib/MxModule/MxFun/index.d.ts +1 -1
- package/dist/lib/MxModule/loadCoreCode/mxfun.es5.js +1 -1
- package/dist/lib/MxModule.d.ts +2 -2
- package/dist/mxdraw.es.js +1 -1
- package/dist/mxdraw.umd.js +1 -1
- package/package.json +1 -1
package/dist/lib/MxModule.d.ts
CHANGED
|
@@ -2472,7 +2472,7 @@ declare class MxFunClass {
|
|
|
2472
2472
|
*
|
|
2473
2473
|
* ```
|
|
2474
2474
|
*/
|
|
2475
|
-
loadImageMaterial(imageUrlPath: string, callResult
|
|
2475
|
+
loadImageMaterial(imageUrlPath: string, callResult?: (material: THREE.MeshLambertMaterial) => void | null): Promise<THREE.MeshLambertMaterial | null>;
|
|
2476
2476
|
/**
|
|
2477
2477
|
* 重新打开cad文件,该函数在控件创建完后,需要再次重新打开文件,调用。
|
|
2478
2478
|
* @param sFile 打的cad文件路径
|
|
@@ -3362,7 +3362,7 @@ declare class MxDbSVG extends MxDbEntity {
|
|
|
3362
3362
|
/** 设置图片路径
|
|
3363
3363
|
* @param sPath 路径
|
|
3364
3364
|
* */
|
|
3365
|
-
setImagePath(sPath: string): void;
|
|
3365
|
+
setImagePath(sPath: string, material?: THREE.MeshLambertMaterial): void;
|
|
3366
3366
|
/** 获取图片路径 */
|
|
3367
3367
|
getImagePath(): string;
|
|
3368
3368
|
/**
|