@leafer/display 1.6.6 → 1.7.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leafer/display",
3
- "version": "1.6.6",
3
+ "version": "1.7.0",
4
4
  "description": "@leafer/display",
5
5
  "author": "Chao (Leafer) Wan",
6
6
  "license": "MIT",
@@ -22,17 +22,17 @@
22
22
  "leaferjs"
23
23
  ],
24
24
  "dependencies": {
25
- "@leafer/math": "1.6.6",
26
- "@leafer/data": "1.6.6",
27
- "@leafer/layout": "1.6.6",
28
- "@leafer/display-module": "1.6.6",
29
- "@leafer/event": "1.6.6",
30
- "@leafer/decorator": "1.6.6",
31
- "@leafer/helper": "1.6.6",
32
- "@leafer/debug": "1.6.6",
33
- "@leafer/platform": "1.6.6"
25
+ "@leafer/math": "1.7.0",
26
+ "@leafer/data": "1.7.0",
27
+ "@leafer/layout": "1.7.0",
28
+ "@leafer/display-module": "1.7.0",
29
+ "@leafer/event": "1.7.0",
30
+ "@leafer/decorator": "1.7.0",
31
+ "@leafer/helper": "1.7.0",
32
+ "@leafer/debug": "1.7.0",
33
+ "@leafer/platform": "1.7.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@leafer/interface": "1.6.6"
36
+ "@leafer/interface": "1.7.0"
37
37
  }
38
38
  }
package/src/Leaf.ts CHANGED
@@ -569,7 +569,9 @@ export class Leaf implements ILeaf {
569
569
 
570
570
  public __clip(_canvas: ILeaferCanvas, _options: IRenderOptions): void { }
571
571
 
572
- public __renderShape(_canvas: ILeaferCanvas, _options: IRenderOptions, _ignoreFill?: boolean, _ignoreStroke?: boolean): void { }
572
+ public __renderShape(_canvas: ILeaferCanvas, _options: IRenderOptions): void { }
573
+
574
+ public __drawShape(_canvas: ILeaferCanvas, _options: IRenderOptions): void { }
573
575
 
574
576
 
575
577
  public __updateWorldOpacity(): void { }
package/types/index.d.ts CHANGED
@@ -157,7 +157,8 @@ declare class Leaf implements ILeaf {
157
157
  __drawFast(_canvas: ILeaferCanvas, _options: IRenderOptions): void;
158
158
  __draw(_canvas: ILeaferCanvas, _options: IRenderOptions, _originCanvas?: ILeaferCanvas): void;
159
159
  __clip(_canvas: ILeaferCanvas, _options: IRenderOptions): void;
160
- __renderShape(_canvas: ILeaferCanvas, _options: IRenderOptions, _ignoreFill?: boolean, _ignoreStroke?: boolean): void;
160
+ __renderShape(_canvas: ILeaferCanvas, _options: IRenderOptions): void;
161
+ __drawShape(_canvas: ILeaferCanvas, _options: IRenderOptions): void;
161
162
  __updateWorldOpacity(): void;
162
163
  __updateChange(): void;
163
164
  __drawPath(_canvas: ILeaferCanvas): void;