@leafer/path
Advanced tools
+3
-3
| { | ||
| "name": "@leafer/path", | ||
| "version": "1.0.0-alpha.7", | ||
| "version": "1.0.0-alpha.9", | ||
| "description": "@leafer/path", | ||
@@ -22,7 +22,7 @@ "author": "Chao (Leafer) Wan", | ||
| "dependencies": { | ||
| "@leafer/math": "1.0.0-alpha.7" | ||
| "@leafer/math": "1.0.0-alpha.9" | ||
| }, | ||
| "devDependencies": { | ||
| "@leafer/interface": "1.0.0-alpha.7" | ||
| "@leafer/interface": "1.0.0-alpha.9" | ||
| } | ||
| } |
@@ -1,2 +0,2 @@ | ||
| import { ICanvasDrawPath, ITwoPointBoundsData, IPathCommandData } from '@leafer/interface' | ||
| import { IPathDrawer, ITwoPointBoundsData, IPathCommandData } from '@leafer/interface' | ||
| import { TwoPointBoundsHelper } from '@leafer/math' | ||
@@ -16,3 +16,3 @@ | ||
| applyCorner(data: IPathCommandData, _cornerRadius: number, _cornerSmoothing?: number): IPathCommandData { | ||
| smoothCorner(data: IPathCommandData, _cornerRadius: number, _cornerSmoothing?: number): IPathCommandData { | ||
| return data | ||
@@ -77,3 +77,3 @@ }, | ||
| drawData(drawer: ICanvasDrawPath, data: IPathCommandData): void { | ||
| drawData(drawer: IPathDrawer, data: IPathCommandData): void { | ||
| let command: number | ||
@@ -80,0 +80,0 @@ let i = 0, len = data.length |
23403
-0.03%+ Added
- Removed
Updated