@code-not-art/core
Advanced tools
Comparing version 0.4.0 to 0.4.1
{ | ||
"name": "@code-not-art/core", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "HTML 5 Canvas Drawing Library", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -109,5 +109,7 @@ import Vec2 from '../math/Vec2'; | ||
}) { | ||
const { start, end, stroke, fill } = inputs; | ||
this.context.beginPath(); | ||
this.context.lineTo(inputs.start.x, inputs.start.y); | ||
this.draw(inputs.stroke, inputs.fill); | ||
this.context.moveTo(start.x, start.y); | ||
this.context.lineTo(end.x, end.y); | ||
this.draw(stroke, fill); | ||
} | ||
@@ -114,0 +116,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
91819
28
1514