source: imaps-frontend/node_modules/html2canvas/dist/lib/render/vector.js

main
Last change on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 582 bytes
Line 
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.isVector = exports.Vector = void 0;
4var Vector = /** @class */ (function () {
5 function Vector(x, y) {
6 this.type = 0 /* VECTOR */;
7 this.x = x;
8 this.y = y;
9 }
10 Vector.prototype.add = function (deltaX, deltaY) {
11 return new Vector(this.x + deltaX, this.y + deltaY);
12 };
13 return Vector;
14}());
15exports.Vector = Vector;
16var isVector = function (path) { return path.type === 0 /* VECTOR */; };
17exports.isVector = isVector;
18//# sourceMappingURL=vector.js.map
Note: See TracBrowser for help on using the repository browser.