@hailin-zheng/editor-core 2.0.9 → 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.
@@ -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;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "author": "hailin-zheng",
5
5
  "private": false,
6
6
  "license": "ISC",
7
- "version": "2.0.9",
7
+ "version": "2.0.11",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "bwip-js": "^3.0.5",