@visactor/vrender 0.9.2-fill-stroke.3 → 0.9.2-fill-stroke.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/animate/default-ticker.js +1 -2
- package/cjs/canvas/util.js +2 -1
- package/cjs/common/custom-path2d.js +1 -2
- package/cjs/common/render-command-list.js +2 -1
- package/cjs/index.d.ts +2 -1
- package/cjs/index.js +18 -2
- package/cjs/index.js.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.min.js +1 -0
- package/es/animate/default-ticker.js +1 -2
- package/es/canvas/util.js +2 -1
- package/es/common/custom-path2d.js +1 -2
- package/es/common/render-command-list.js +2 -1
- package/es/index.d.ts +2 -1
- package/es/index.js +3 -1
- package/es/index.js.map +1 -1
- package/es/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/vrender.js +0 -1
- package/dist/vrender.min.js +0 -1
package/cjs/canvas/util.js
CHANGED
|
@@ -395,4 +395,5 @@ function containStroke(commands, lineWidth, x, y) {
|
|
|
395
395
|
return containPath(commands, lineWidth, !0, x, y);
|
|
396
396
|
}
|
|
397
397
|
|
|
398
|
-
exports.contain = contain, exports.containStroke = containStroke;
|
|
398
|
+
exports.contain = contain, exports.containStroke = containStroke;
|
|
399
|
+
//# sourceMappingURL=util.js.map
|
|
@@ -329,5 +329,4 @@ function scale(current, sX, sY) {
|
|
|
329
329
|
temp[3] = current[3], temp[4] = current[4], temp[5] = current[5], temp[6] = sX * current[6],
|
|
330
330
|
temp[7] = sY * current[7]; else if ("h" === c || "H" === c) temp[1] = sX * current[1]; else if ("v" === c || "V" === c) temp[1] = sY * current[1]; else for (let i = 1, n = current.length; i < n; ++i) temp[i] = (i % 2 == 1 ? sX : sY) * current[i];
|
|
331
331
|
return temp;
|
|
332
|
-
}
|
|
333
|
-
//# sourceMappingURL=custom-path2d.js.map
|
|
332
|
+
}
|
package/cjs/index.d.ts
CHANGED
package/cjs/index.js
CHANGED
|
@@ -11,13 +11,29 @@ var __createBinding = this && this.__createBinding || (Object.create ? function(
|
|
|
11
11
|
}), Object.defineProperty(o, k2, desc);
|
|
12
12
|
} : function(o, m, k, k2) {
|
|
13
13
|
void 0 === k2 && (k2 = k), o[k2] = m[k];
|
|
14
|
-
}),
|
|
14
|
+
}), __setModuleDefault = this && this.__setModuleDefault || (Object.create ? function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", {
|
|
16
|
+
enumerable: !0,
|
|
17
|
+
value: v
|
|
18
|
+
});
|
|
19
|
+
} : function(o, v) {
|
|
20
|
+
o.default = v;
|
|
21
|
+
}), __importStar = this && this.__importStar || function(mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (null != mod) for (var k in mod) "default" !== k && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
|
|
25
|
+
return __setModuleDefault(result, mod), result;
|
|
26
|
+
}, __exportStar = this && this.__exportStar || function(m, exports) {
|
|
15
27
|
for (var p in m) "default" === p || Object.prototype.hasOwnProperty.call(exports, p) || __createBinding(exports, m, p);
|
|
16
28
|
};
|
|
17
29
|
|
|
18
30
|
Object.defineProperty(exports, "__esModule", {
|
|
19
31
|
value: !0
|
|
20
|
-
}),
|
|
32
|
+
}), exports.Reflect = void 0;
|
|
33
|
+
|
|
34
|
+
const _Reflect = __importStar(require("reflect-metadata"));
|
|
35
|
+
|
|
36
|
+
exports.Reflect = _Reflect, require("./modules"), __exportStar(require("./container"), exports),
|
|
21
37
|
__exportStar(require("./core/global"), exports), __exportStar(require("./graphic"), exports),
|
|
22
38
|
__exportStar(require("./modules"), exports), __exportStar(require("./create"), exports),
|
|
23
39
|
__exportStar(require("./event"), exports), __exportStar(require("./interface"), exports),
|
package/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2DAA6C;AAChC,QAAA,OAAO,GAAG,QAAQ,CAAC;AAChC,qBAAmB;AAEnB,8CAA4B;AAC5B,gDAA8B;AAC9B,4CAA0B;AAC1B,4CAA0B;AAC1B,2CAAyB;AACzB,0CAAwB;AACxB,8CAA4B;AAC5B,2CAAyB;AACzB,2CAAyB;AACzB,yCAAuB;AACvB,2CAAyB;AACzB,yCAAuB;AACvB,4CAA0B;AAC1B,2DAAyC;AAGzC,gDAA8B;AAC9B,wDAAsC;AACtC,0DAAwC;AACxC,uDAAqC;AACrC,yDAAuC;AACvC,mDAAiC;AACjC,wDAAsC;AACtC,iEAA+C;AAC/C,qDAAmC;AACnC,iDAA+B;AAC/B,qDAAmC;AACnC,sDAAoC;AAEpC,oDAAkC;AAClC,wDAAsC;AACtC,uDAAqC;AACrC,+DAA6C;AAC7C,gDAA8B;AAC9B,0DAAwC;AACxC,sDAAoC;AACpC,iDAA+B;AAE/B,2DAAyC","file":"index.js","sourcesContent":["import * as _Reflect from 'reflect-metadata';\nexport const Reflect = _Reflect;\nimport './modules';\n\nexport * from './container';\nexport * from './core/global';\nexport * from './graphic';\nexport * from './modules';\nexport * from './create';\nexport * from './event';\nexport * from './interface';\nexport * from './render';\nexport * from './canvas';\nexport * from './core';\nexport * from './picker';\nexport * from './kits';\nexport * from './animate';\nexport * from './resource-loader/loader';\n\n/* export common */\nexport * from './common/text';\nexport * from './common/bezier-utils';\nexport * from './common/bounds-context';\nexport * from './common/seg-context';\nexport * from './common/custom-path2d';\nexport * from './common/segment';\nexport * from './common/canvas-utils';\nexport * from './common/contribution-provider';\nexport * from './common/generator';\nexport * from './common/utils';\nexport * from './common/shape/arc';\nexport * from './common/shape/rect';\n\nexport * from './common/path-svg';\nexport * from './common/render-curve';\nexport * from './common/render-area';\nexport * from './common/render-command-list';\nexport * from './common/sort';\nexport * from './common/morphing-utils';\nexport * from './common/split-path';\nexport * from './common/enums';\n\nexport * from './animate/default-ticker';\n"]}
|