@hailin-zheng/editor-core 2.0.29 → 2.0.30
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-cjs.js +25 -11
- package/index-cjs.js.map +1 -1
- package/index.js +25 -11
- package/index.js.map +1 -1
- package/med_editor/framework/element-util.d.ts +1 -1
- package/package.json +1 -1
@@ -394,7 +394,7 @@ export declare class ElementUtil {
|
|
394
394
|
static getRectPath(x: number, y: number, width: number, height: number): string;
|
395
395
|
static getFillSvgPath(pathPoints: Array<Position> | string, fill: string, width: number): any;
|
396
396
|
static getFillSvgRect(x: number, y: number, width: number, height: number, fill: string): any;
|
397
|
-
static getMousePos(e: MouseEvent): Position;
|
397
|
+
static getMousePos(e: MouseEvent, scale?: number): Position;
|
398
398
|
static createClipPath(id: string, width: number, height: number, x?: number, y?: number): any;
|
399
399
|
/**
|
400
400
|
* 判断是否光标可以设置接受编辑
|