@hailin-zheng/editor-core 2.0.10 → 2.0.11
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 +71 -19
- package/index-cjs.js.map +1 -1
- package/index.js +71 -19
- package/index.js.map +1 -1
- package/med_editor/framework/element-util.d.ts +2 -0
- package/med_editor/framework/impl/table/table-cell-impl.d.ts +5 -0
- package/package.json +1 -1
@@ -390,6 +390,8 @@ export declare class ElementUtil {
|
|
390
390
|
static getOSPlatform(): 'Windows' | 'Mac' | 'Linux';
|
391
391
|
static getCheckboxPath(x: number, y: number, width: number, height: number): Array<Position>;
|
392
392
|
static getStrokeSvgPath(pathPoints: Array<Position> | string, stroke: string, width: number): any;
|
393
|
+
static createLine(x1: number, y1: number, x2: number, y2: number, stroke: string, width: number): any;
|
394
|
+
static getRectPath(x: number, y: number, width: number, height: number): string;
|
393
395
|
static getFillSvgPath(pathPoints: Array<Position> | string, fill: string, width: number): any;
|
394
396
|
static getFillSvgRect(x: number, y: number, width: number, height: number, fill: string): any;
|
395
397
|
static getMousePos(e: MouseEvent): Position;
|
@@ -25,6 +25,11 @@ export declare class TableCellRenderObject extends InlineMuiltBlockLineRenderObj
|
|
25
25
|
* @private
|
26
26
|
*/
|
27
27
|
private renderDiagonal;
|
28
|
+
/**
|
29
|
+
* 绘制对角线
|
30
|
+
* @private
|
31
|
+
*/
|
32
|
+
private renderDiagonalHTML;
|
28
33
|
clone(): RenderObject;
|
29
34
|
exportHTML(event: IEditorVNodeOptions): any;
|
30
35
|
private createBgRect;
|