@leafer/data
Advanced tools
+2
-2
| { | ||
| "name": "@leafer/data", | ||
| "version": "1.0.0-rc.23", | ||
| "version": "1.0.0-rc.24", | ||
| "description": "@leafer/data", | ||
@@ -25,4 +25,4 @@ "author": "Chao (Leafer) Wan", | ||
| "devDependencies": { | ||
| "@leafer/interface": "1.0.0-rc.23" | ||
| "@leafer/interface": "1.0.0-rc.24" | ||
| } | ||
| } |
+4
-0
@@ -18,2 +18,6 @@ import { ILeafData, ILeaf, IObject, IValue, IPathCommandData } from '@leafer/interface' | ||
| public get __useNaturalRatio() { return true } | ||
| public get __isLinePath(): boolean { return (this as ILeafData).path && (this as ILeafData).path.length === 6 } | ||
| public get __blendMode(): string { | ||
@@ -20,0 +24,0 @@ if ((this as ILeafData).eraser && (this as ILeafData).eraser !== 'path') return 'destination-out' |
+2
-0
@@ -20,2 +20,4 @@ import { IObject, IBooleanMap, ILeafData, ILeaf, IPathCommandData } from '@leafer/interface'; | ||
| __pathForRender?: IPathCommandData; | ||
| get __useNaturalRatio(): boolean; | ||
| get __isLinePath(): boolean; | ||
| get __blendMode(): string; | ||
@@ -22,0 +24,0 @@ constructor(leaf: ILeaf); |
8391
2.94%186
2.2%