@amcharts/amcharts5 5.2.37 → 5.2.39

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.
Files changed (181) hide show
  1. package/.internal/charts/map/GraticuleSeries.d.ts +1 -0
  2. package/.internal/charts/map/GraticuleSeries.d.ts.map +1 -1
  3. package/.internal/charts/map/GraticuleSeries.js +21 -0
  4. package/.internal/charts/map/GraticuleSeries.js.map +1 -1
  5. package/.internal/charts/map/MapChartDefaultTheme.d.ts.map +1 -1
  6. package/.internal/charts/map/MapChartDefaultTheme.js +9 -1
  7. package/.internal/charts/map/MapChartDefaultTheme.js.map +1 -1
  8. package/.internal/charts/map/MapPointSeries.d.ts.map +1 -1
  9. package/.internal/charts/map/MapPointSeries.js +2 -1
  10. package/.internal/charts/map/MapPointSeries.js.map +1 -1
  11. package/.internal/charts/map/MapSeries.d.ts.map +1 -1
  12. package/.internal/charts/map/MapSeries.js +4 -2
  13. package/.internal/charts/map/MapSeries.js.map +1 -1
  14. package/.internal/charts/map/ZoomControl.d.ts.map +1 -1
  15. package/.internal/charts/map/ZoomControl.js +2 -9
  16. package/.internal/charts/map/ZoomControl.js.map +1 -1
  17. package/.internal/charts/xy/axes/Axis.d.ts.map +1 -1
  18. package/.internal/charts/xy/axes/Axis.js +5 -3
  19. package/.internal/charts/xy/axes/Axis.js.map +1 -1
  20. package/.internal/core/Registry.js +1 -1
  21. package/.internal/core/Registry.js.map +1 -1
  22. package/.internal/core/Root.d.ts +6 -1
  23. package/.internal/core/Root.d.ts.map +1 -1
  24. package/.internal/core/Root.js +17 -39
  25. package/.internal/core/Root.js.map +1 -1
  26. package/.internal/core/render/Label.d.ts +7 -0
  27. package/.internal/core/render/Label.d.ts.map +1 -1
  28. package/.internal/core/render/Label.js +1 -0
  29. package/.internal/core/render/Label.js.map +1 -1
  30. package/.internal/core/render/Sprite.d.ts +9 -1
  31. package/.internal/core/render/Sprite.d.ts.map +1 -1
  32. package/.internal/core/render/Sprite.js +2 -2
  33. package/.internal/core/render/Sprite.js.map +1 -1
  34. package/.internal/core/render/Text.d.ts +1 -0
  35. package/.internal/core/render/Text.d.ts.map +1 -1
  36. package/.internal/core/render/Text.js +6 -0
  37. package/.internal/core/render/Text.js.map +1 -1
  38. package/.internal/core/render/Tooltip.d.ts.map +1 -1
  39. package/.internal/core/render/Tooltip.js +0 -4
  40. package/.internal/core/render/Tooltip.js.map +1 -1
  41. package/.internal/core/render/backend/CanvasRenderer.d.ts +22 -7
  42. package/.internal/core/render/backend/CanvasRenderer.d.ts.map +1 -1
  43. package/.internal/core/render/backend/CanvasRenderer.js +183 -35
  44. package/.internal/core/render/backend/CanvasRenderer.js.map +1 -1
  45. package/.internal/core/render/backend/Renderer.d.ts +8 -1
  46. package/.internal/core/render/backend/Renderer.d.ts.map +1 -1
  47. package/.internal/core/render/backend/Renderer.js.map +1 -1
  48. package/CHANGELOG.md +24 -0
  49. package/examples/javascript/flow-chord/package.json +1 -1
  50. package/examples/javascript/flow-chord-directed/package.json +1 -1
  51. package/examples/javascript/flow-chord-non-ribbon/package.json +1 -1
  52. package/examples/javascript/flow-sankey/package.json +1 -1
  53. package/examples/javascript/gauge/package.json +1 -1
  54. package/examples/javascript/gauge-bands/package.json +1 -1
  55. package/examples/javascript/hierarchy-force-directed/package.json +1 -1
  56. package/examples/javascript/hierarchy-pack/package.json +1 -1
  57. package/examples/javascript/hierarchy-partition/package.json +1 -1
  58. package/examples/javascript/hierarchy-sunburst/package.json +1 -1
  59. package/examples/javascript/hierarchy-tree/package.json +1 -1
  60. package/examples/javascript/hierarchy-treemap/package.json +1 -1
  61. package/examples/javascript/jest/package.json +1 -1
  62. package/examples/javascript/json/package.json +1 -1
  63. package/examples/javascript/map-animating-along-lines/package.json +1 -1
  64. package/examples/javascript/map-day-and-night/package.json +1 -1
  65. package/examples/javascript/map-globe-rotate-to-country/package.json +1 -1
  66. package/examples/javascript/map-globe-with-projected-circles/package.json +1 -1
  67. package/examples/javascript/map-with-bubbles/package.json +1 -1
  68. package/examples/javascript/map-zoom-to-country/package.json +1 -1
  69. package/examples/javascript/misc-40-charts/package.json +1 -1
  70. package/examples/javascript/misc-microchart-grid/package.json +1 -1
  71. package/examples/javascript/pie-chart/package.json +1 -1
  72. package/examples/javascript/pie-donut-chart/package.json +1 -1
  73. package/examples/javascript/pie-variable-radius/package.json +1 -1
  74. package/examples/javascript/radar-column-iwatch-style/package.json +1 -1
  75. package/examples/javascript/radar-heat-map/package.json +1 -1
  76. package/examples/javascript/radar-line/package.json +1 -1
  77. package/examples/javascript/radar-time-line/package.json +1 -1
  78. package/examples/javascript/sliced-funnel/package.json +1 -1
  79. package/examples/javascript/sliced-pictorial-stacked/package.json +1 -1
  80. package/examples/javascript/sliced-pyramid/package.json +1 -1
  81. package/examples/javascript/stock-chart/package.json +1 -1
  82. package/examples/javascript/stock-chart-comparing-stocks/package.json +1 -1
  83. package/examples/javascript/stock-chart-data-granularity/package.json +1 -1
  84. package/examples/javascript/stock-chart-data-grouping/package.json +1 -1
  85. package/examples/javascript/stock-chart-intraday/package.json +1 -1
  86. package/examples/javascript/stock-chart-live/package.json +1 -1
  87. package/examples/javascript/stock-chart-volume-separate-panel/package.json +1 -1
  88. package/examples/javascript/venn-diagram/package.json +1 -1
  89. package/examples/javascript/wordcloud-with-data/package.json +1 -1
  90. package/examples/javascript/wordcloud-with-text/package.json +1 -1
  91. package/examples/javascript/xy-100-percent-stacked-column/package.json +1 -1
  92. package/examples/javascript/xy-animated-bullet-at-the-end-of-the-series/package.json +1 -1
  93. package/examples/javascript/xy-bubble/package.json +1 -1
  94. package/examples/javascript/xy-candlestick/package.json +1 -1
  95. package/examples/javascript/xy-clustered-column/package.json +1 -1
  96. package/examples/javascript/xy-column/package.json +1 -1
  97. package/examples/javascript/xy-comparing-series-google-analytics-style/package.json +1 -1
  98. package/examples/javascript/xy-data-grouping/package.json +1 -1
  99. package/examples/javascript/xy-draggable-range/package.json +1 -1
  100. package/examples/javascript/xy-drawing-series-with-mouse-or-touch/package.json +1 -1
  101. package/examples/javascript/xy-dumbbell plot/package.json +1 -1
  102. package/examples/javascript/xy-evenly-spaced-date-axis/package.json +1 -1
  103. package/examples/javascript/xy-line/package.json +1 -1
  104. package/examples/javascript/xy-line-highlight-on-legend-hover/package.json +1 -1
  105. package/examples/javascript/xy-live-data/package.json +1 -1
  106. package/examples/javascript/xy-multiple-synced-value-axes/package.json +1 -1
  107. package/examples/javascript/xy-ohlc/package.json +1 -1
  108. package/examples/javascript/xy-real-time-data-sorting/package.json +1 -1
  109. package/examples/javascript/xy-smoothed-line/package.json +1 -1
  110. package/examples/javascript/xy-stacked-and-clustered-column/package.json +1 -1
  111. package/examples/javascript/xy-stacked-column/package.json +1 -1
  112. package/examples/javascript/xy-stacked-step/package.json +1 -1
  113. package/examples/javascript/xy-stock/package.json +1 -1
  114. package/examples/javascript/xy-stock-comparing/package.json +1 -1
  115. package/examples/typescript/flow-chord/package.json +1 -1
  116. package/examples/typescript/flow-chord-directed/package.json +1 -1
  117. package/examples/typescript/flow-chord-non-ribbon/package.json +1 -1
  118. package/examples/typescript/flow-sankey/package.json +1 -1
  119. package/examples/typescript/gauge/package.json +1 -1
  120. package/examples/typescript/gauge-bands/package.json +1 -1
  121. package/examples/typescript/hierarchy-force-directed/package.json +1 -1
  122. package/examples/typescript/hierarchy-pack/package.json +1 -1
  123. package/examples/typescript/hierarchy-partition/package.json +1 -1
  124. package/examples/typescript/hierarchy-sunburst/package.json +1 -1
  125. package/examples/typescript/hierarchy-tree/package.json +1 -1
  126. package/examples/typescript/hierarchy-treemap/package.json +1 -1
  127. package/examples/typescript/jest/package.json +1 -1
  128. package/examples/typescript/json/package.json +1 -1
  129. package/examples/typescript/map-animating-along-lines/package.json +1 -1
  130. package/examples/typescript/map-day-and-night/package.json +1 -1
  131. package/examples/typescript/map-globe-rotate-to-country/package.json +1 -1
  132. package/examples/typescript/map-globe-with-projected-circles/package.json +1 -1
  133. package/examples/typescript/map-with-bubbles/package.json +1 -1
  134. package/examples/typescript/map-zoom-to-country/package.json +1 -1
  135. package/examples/typescript/misc-40-charts/package.json +1 -1
  136. package/examples/typescript/misc-microchart-grid/package.json +1 -1
  137. package/examples/typescript/pie-chart/package.json +1 -1
  138. package/examples/typescript/pie-donut-chart/package.json +1 -1
  139. package/examples/typescript/pie-variable-radius/package.json +1 -1
  140. package/examples/typescript/radar-column-iwatch-style/package.json +1 -1
  141. package/examples/typescript/radar-heat-map/package.json +1 -1
  142. package/examples/typescript/radar-line/package.json +1 -1
  143. package/examples/typescript/radar-time-line/package.json +1 -1
  144. package/examples/typescript/sliced-funnel/package.json +1 -1
  145. package/examples/typescript/sliced-pictorial-stacked/package.json +1 -1
  146. package/examples/typescript/sliced-pyramid/package.json +1 -1
  147. package/examples/typescript/stock-chart/package.json +1 -1
  148. package/examples/typescript/stock-chart-comparing-stocks/package.json +1 -1
  149. package/examples/typescript/stock-chart-data-granularity/package.json +1 -1
  150. package/examples/typescript/stock-chart-data-grouping/package.json +1 -1
  151. package/examples/typescript/stock-chart-intraday/package.json +1 -1
  152. package/examples/typescript/stock-chart-live/package.json +1 -1
  153. package/examples/typescript/stock-chart-volume-separate-panel/package.json +1 -1
  154. package/examples/typescript/venn-diagram/package.json +1 -1
  155. package/examples/typescript/wordcloud-with-data/package.json +1 -1
  156. package/examples/typescript/wordcloud-with-text/package.json +1 -1
  157. package/examples/typescript/xy-100-percent-stacked-column/package.json +1 -1
  158. package/examples/typescript/xy-animated-bullet-at-the-end-of-the-series/package.json +1 -1
  159. package/examples/typescript/xy-bubble/package.json +1 -1
  160. package/examples/typescript/xy-candlestick/package.json +1 -1
  161. package/examples/typescript/xy-clustered-column/package.json +1 -1
  162. package/examples/typescript/xy-column/package.json +1 -1
  163. package/examples/typescript/xy-comparing-series-google-analytics-style/package.json +1 -1
  164. package/examples/typescript/xy-data-grouping/package.json +1 -1
  165. package/examples/typescript/xy-draggable-range/package.json +1 -1
  166. package/examples/typescript/xy-drawing-series-with-mouse-or-touch/package.json +1 -1
  167. package/examples/typescript/xy-dumbbell plot/package.json +1 -1
  168. package/examples/typescript/xy-evenly-spaced-date-axis/package.json +1 -1
  169. package/examples/typescript/xy-line/package.json +1 -1
  170. package/examples/typescript/xy-line-highlight-on-legend-hover/package.json +1 -1
  171. package/examples/typescript/xy-live-data/package.json +1 -1
  172. package/examples/typescript/xy-multiple-synced-value-axes/package.json +1 -1
  173. package/examples/typescript/xy-ohlc/package.json +1 -1
  174. package/examples/typescript/xy-real-time-data-sorting/package.json +1 -1
  175. package/examples/typescript/xy-smoothed-line/package.json +1 -1
  176. package/examples/typescript/xy-stacked-and-clustered-column/package.json +1 -1
  177. package/examples/typescript/xy-stacked-column/package.json +1 -1
  178. package/examples/typescript/xy-stacked-step/package.json +1 -1
  179. package/examples/typescript/xy-stock/package.json +1 -1
  180. package/examples/typescript/xy-stock-comparing/package.json +1 -1
  181. package/package.json +1 -1
@@ -456,17 +456,22 @@ var CanvasDisplayObject = /** @class */ (function (_super) {
456
456
  enumerable: false,
457
457
  configurable: true,
458
458
  writable: true,
459
- value: function (order, visible) {
460
- if (visible === void 0) { visible = true; }
459
+ value: function (order, margin) {
461
460
  if (order == null) {
462
461
  this._layer = undefined;
463
462
  }
464
463
  else {
464
+ var visible = true;
465
465
  this._layer = this._renderer.getLayer(order, visible);
466
466
  this._layer.visible = visible;
467
+ this._layer.margin = margin;
468
+ if (margin) {
469
+ $utils.setInteractive(this._layer.view, false);
470
+ }
467
471
  if (this._parent) {
468
472
  this._parent.registerChildLayer(this._layer);
469
473
  }
474
+ this._renderer.resizeLayer(this._layer);
470
475
  }
471
476
  }
472
477
  });
@@ -645,6 +650,28 @@ var CanvasDisplayObject = /** @class */ (function (_super) {
645
650
  context.setTransform(m.a * resolution, m.b * resolution, m.c * resolution, m.d * resolution, m.tx * resolution, m.ty * resolution);
646
651
  }
647
652
  });
653
+ Object.defineProperty(CanvasDisplayObject.prototype, "_transformMargin", {
654
+ enumerable: false,
655
+ configurable: true,
656
+ writable: true,
657
+ value: function (context, resolution, margin) {
658
+ var m = this._matrix;
659
+ context.setTransform(m.a * resolution, m.b * resolution, m.c * resolution, m.d * resolution, (m.tx + margin.left) * resolution, (m.ty + margin.top) * resolution);
660
+ }
661
+ });
662
+ Object.defineProperty(CanvasDisplayObject.prototype, "_transformLayer", {
663
+ enumerable: false,
664
+ configurable: true,
665
+ writable: true,
666
+ value: function (context, resolution, layer) {
667
+ if (layer.margin) {
668
+ this._transformMargin(context, layer.scale || resolution, layer.margin);
669
+ }
670
+ else {
671
+ this._transform(context, layer.scale || resolution);
672
+ }
673
+ }
674
+ });
648
675
  Object.defineProperty(CanvasDisplayObject.prototype, "render", {
649
676
  enumerable: false,
650
677
  configurable: true,
@@ -667,12 +694,12 @@ var CanvasDisplayObject = /** @class */ (function (_super) {
667
694
  context.save();
668
695
  // We must apply the mask before we transform the element
669
696
  if (mask_1) {
670
- mask_1._transform(context, layer.scale || resolution_1);
697
+ mask_1._transformLayer(context, resolution_1, layer);
671
698
  mask_1._runPath(context);
672
699
  context.clip();
673
700
  }
674
701
  context.globalAlpha = _this.compoundAlpha * _this.alpha;
675
- _this._transform(context, layer.scale || resolution_1);
702
+ _this._transformLayer(context, resolution_1, layer);
676
703
  if (_this.filter) {
677
704
  context.filter = _this.filter;
678
705
  }
@@ -2393,7 +2420,7 @@ var CanvasText = /** @class */ (function (_super) {
2393
2420
  // Other parameters
2394
2421
  if (style.fill) {
2395
2422
  if (style.fill instanceof Color) {
2396
- context.fillStyle = style.fill.toCSS();
2423
+ context.fillStyle = style.fill.toCSS(style.fillOpacity != undefined ? style.fillOpacity : 1);
2397
2424
  }
2398
2425
  else {
2399
2426
  context.fillStyle = style.fill;
@@ -3060,6 +3087,12 @@ var CanvasTextStyle = /** @class */ (function () {
3060
3087
  writable: true,
3061
3088
  value: void 0
3062
3089
  });
3090
+ Object.defineProperty(this, "fillOpacity", {
3091
+ enumerable: true,
3092
+ configurable: true,
3093
+ writable: true,
3094
+ value: void 0
3095
+ });
3063
3096
  Object.defineProperty(this, "textAlign", {
3064
3097
  enumerable: true,
3065
3098
  configurable: true,
@@ -4308,6 +4341,15 @@ var CanvasRenderer = /** @class */ (function (_super) {
4308
4341
  return new CanvasImage(this, image);
4309
4342
  }
4310
4343
  });
4344
+ Object.defineProperty(CanvasRenderer.prototype, "resizeLayer", {
4345
+ enumerable: false,
4346
+ configurable: true,
4347
+ writable: true,
4348
+ value: function (layer) {
4349
+ layer.dirty = true;
4350
+ layer.resize(this._clientWidth, this._clientHeight, this.resolution);
4351
+ }
4352
+ });
4311
4353
  Object.defineProperty(CanvasRenderer.prototype, "resize", {
4312
4354
  enumerable: false,
4313
4355
  configurable: true,
@@ -4320,23 +4362,7 @@ var CanvasRenderer = /** @class */ (function (_super) {
4320
4362
  this._height = Math.floor(height * this.resolution);
4321
4363
  $array.each(this.layers, function (layer) {
4322
4364
  if (layer) {
4323
- layer.dirty = true;
4324
- if (layer.width != null) {
4325
- layer.view.width = layer.width;
4326
- layer.view.style.width = layer.width + "px";
4327
- }
4328
- else {
4329
- layer.view.width = _this._width;
4330
- layer.view.style.width = width + "px";
4331
- }
4332
- if (layer.height != null) {
4333
- layer.view.height = layer.height;
4334
- layer.view.style.height = layer.height + "px";
4335
- }
4336
- else {
4337
- layer.view.height = _this._height;
4338
- layer.view.style.height = height + "px";
4339
- }
4365
+ _this.resizeLayer(layer);
4340
4366
  }
4341
4367
  });
4342
4368
  // @todo: do the same for ghost canvases
@@ -4356,16 +4382,7 @@ var CanvasRenderer = /** @class */ (function (_super) {
4356
4382
  if (willReadFrequently === void 0) { willReadFrequently = false; }
4357
4383
  var view = document.createElement("canvas");
4358
4384
  var context = view.getContext("2d", { willReadFrequently: willReadFrequently });
4359
- var layer = {
4360
- view: view,
4361
- context: context,
4362
- order: 0,
4363
- visible: true,
4364
- width: undefined,
4365
- height: undefined,
4366
- dirty: true,
4367
- tainted: false
4368
- };
4385
+ var layer = new CanvasLayer(view, context);
4369
4386
  view.style.position = "absolute";
4370
4387
  view.style.top = "0px";
4371
4388
  view.style.left = "0px";
@@ -4449,10 +4466,8 @@ var CanvasRenderer = /** @class */ (function (_super) {
4449
4466
  $array.each(this.layers, function (layer) {
4450
4467
  if (layer) {
4451
4468
  if (layer.dirty && layer.visible) {
4452
- var context = layer.context;
4453
4469
  _this._dirtyLayers.push(layer);
4454
- context.save();
4455
- context.clearRect(0, 0, _this._width, _this._height);
4470
+ layer.clear();
4456
4471
  }
4457
4472
  }
4458
4473
  });
@@ -5119,4 +5134,137 @@ var CanvasRenderer = /** @class */ (function (_super) {
5119
5134
  return CanvasRenderer;
5120
5135
  }(ArrayDisposer));
5121
5136
  export { CanvasRenderer };
5137
+ /**
5138
+ * @ignore
5139
+ */
5140
+ var CanvasLayer = /** @class */ (function () {
5141
+ function CanvasLayer(view, context) {
5142
+ Object.defineProperty(this, "view", {
5143
+ enumerable: true,
5144
+ configurable: true,
5145
+ writable: true,
5146
+ value: void 0
5147
+ });
5148
+ Object.defineProperty(this, "context", {
5149
+ enumerable: true,
5150
+ configurable: true,
5151
+ writable: true,
5152
+ value: void 0
5153
+ });
5154
+ Object.defineProperty(this, "tainted", {
5155
+ enumerable: true,
5156
+ configurable: true,
5157
+ writable: true,
5158
+ value: true
5159
+ });
5160
+ Object.defineProperty(this, "margin", {
5161
+ enumerable: true,
5162
+ configurable: true,
5163
+ writable: true,
5164
+ value: void 0
5165
+ });
5166
+ Object.defineProperty(this, "order", {
5167
+ enumerable: true,
5168
+ configurable: true,
5169
+ writable: true,
5170
+ value: 0
5171
+ });
5172
+ Object.defineProperty(this, "visible", {
5173
+ enumerable: true,
5174
+ configurable: true,
5175
+ writable: true,
5176
+ value: true
5177
+ });
5178
+ Object.defineProperty(this, "width", {
5179
+ enumerable: true,
5180
+ configurable: true,
5181
+ writable: true,
5182
+ value: void 0
5183
+ });
5184
+ Object.defineProperty(this, "height", {
5185
+ enumerable: true,
5186
+ configurable: true,
5187
+ writable: true,
5188
+ value: void 0
5189
+ });
5190
+ Object.defineProperty(this, "scale", {
5191
+ enumerable: true,
5192
+ configurable: true,
5193
+ writable: true,
5194
+ value: void 0
5195
+ });
5196
+ Object.defineProperty(this, "dirty", {
5197
+ enumerable: true,
5198
+ configurable: true,
5199
+ writable: true,
5200
+ value: true
5201
+ });
5202
+ Object.defineProperty(this, "exportableView", {
5203
+ enumerable: true,
5204
+ configurable: true,
5205
+ writable: true,
5206
+ value: void 0
5207
+ });
5208
+ Object.defineProperty(this, "exportableContext", {
5209
+ enumerable: true,
5210
+ configurable: true,
5211
+ writable: true,
5212
+ value: void 0
5213
+ });
5214
+ Object.defineProperty(this, "_width", {
5215
+ enumerable: true,
5216
+ configurable: true,
5217
+ writable: true,
5218
+ value: 0
5219
+ });
5220
+ Object.defineProperty(this, "_height", {
5221
+ enumerable: true,
5222
+ configurable: true,
5223
+ writable: true,
5224
+ value: 0
5225
+ });
5226
+ this.view = view;
5227
+ this.context = context;
5228
+ }
5229
+ Object.defineProperty(CanvasLayer.prototype, "resize", {
5230
+ enumerable: false,
5231
+ configurable: true,
5232
+ writable: true,
5233
+ value: function (width, height, resolution) {
5234
+ if (this.width != null) {
5235
+ width = this.width;
5236
+ }
5237
+ if (this.height != null) {
5238
+ height = this.height;
5239
+ }
5240
+ if (this.margin) {
5241
+ width += (this.margin.left + this.margin.right);
5242
+ height += (this.margin.top + this.margin.bottom);
5243
+ this.view.style.left = -this.margin.left + "px";
5244
+ this.view.style.top = -this.margin.top + "px";
5245
+ }
5246
+ else {
5247
+ this.view.style.left = "";
5248
+ this.view.style.top = "";
5249
+ }
5250
+ this._width = Math.floor(width * resolution);
5251
+ this._height = Math.floor(height * resolution);
5252
+ this.view.width = this._width;
5253
+ this.view.style.width = width + "px";
5254
+ this.view.height = this._height;
5255
+ this.view.style.height = height + "px";
5256
+ }
5257
+ });
5258
+ Object.defineProperty(CanvasLayer.prototype, "clear", {
5259
+ enumerable: false,
5260
+ configurable: true,
5261
+ writable: true,
5262
+ value: function () {
5263
+ this.context.save();
5264
+ this.context.clearRect(0, 0, this._width, this._height);
5265
+ }
5266
+ });
5267
+ return CanvasLayer;
5268
+ }());
5269
+ export { CanvasLayer };
5122
5270
  //# sourceMappingURL=CanvasRenderer.js.map