@leafer/display 1.6.7 → 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 +11 -11
- package/src/Leaf.ts +3 -1
- package/types/index.d.ts +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leafer/display",
|
|
3
|
-
"version": "1.
|
|
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.
|
|
26
|
-
"@leafer/data": "1.
|
|
27
|
-
"@leafer/layout": "1.
|
|
28
|
-
"@leafer/display-module": "1.
|
|
29
|
-
"@leafer/event": "1.
|
|
30
|
-
"@leafer/decorator": "1.
|
|
31
|
-
"@leafer/helper": "1.
|
|
32
|
-
"@leafer/debug": "1.
|
|
33
|
-
"@leafer/platform": "1.
|
|
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.
|
|
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
|
|
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
|
|
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;
|