This commit is contained in:
魏啾
2024-04-30 18:07:59 +08:00
parent b72c4d7af1
commit 56863dd624
1369 changed files with 156460 additions and 0 deletions

18
node_modules/html2canvas/dist/lib/render/vector.js generated vendored Normal file
View File

@@ -0,0 +1,18 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isVector = exports.Vector = void 0;
var Vector = /** @class */ (function () {
function Vector(x, y) {
this.type = 0 /* VECTOR */;
this.x = x;
this.y = y;
}
Vector.prototype.add = function (deltaX, deltaY) {
return new Vector(this.x + deltaX, this.y + deltaY);
};
return Vector;
}());
exports.Vector = Vector;
var isVector = function (path) { return path.type === 0 /* VECTOR */; };
exports.isVector = isVector;
//# sourceMappingURL=vector.js.map