@antv/g-lite 1.2.5 → 1.2.7

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.
@@ -20,8 +20,4 @@ export interface Renderable {
20
20
  * dirty rectangle flag
21
21
  */
22
22
  dirty: boolean;
23
- /**
24
- * Rendering with other renderers, eg. simple Path/Polyline should be treated as instanced Line.
25
- */
26
- proxyNodeName: string;
27
23
  }
package/dist/index.esm.js CHANGED
@@ -4889,16 +4889,16 @@ function convertToPath(object, transform) {
4889
4889
  var commands = [];
4890
4890
  switch (object.nodeName) {
4891
4891
  case Shape.LINE:
4892
- var _a = object.parsedStyle, x1 = _a.x1, y1 = _a.y1, x2 = _a.x2, y2 = _a.y2;
4892
+ var _a = object.parsedStyle, _b = _a.x1, x1 = _b === void 0 ? 0 : _b, _c = _a.y1, y1 = _c === void 0 ? 0 : _c, _d = _a.x2, x2 = _d === void 0 ? 0 : _d, _e = _a.y2, y2 = _e === void 0 ? 0 : _e;
4893
4893
  commands = lineToCommands(x1, y1, x2, y2);
4894
4894
  break;
4895
4895
  case Shape.CIRCLE: {
4896
- var _b = object.parsedStyle, r = _b.r, cx = _b.cx, cy = _b.cy;
4896
+ var _f = object.parsedStyle, _g = _f.r, r = _g === void 0 ? 0 : _g, _h = _f.cx, cx = _h === void 0 ? 0 : _h, _j = _f.cy, cy = _j === void 0 ? 0 : _j;
4897
4897
  commands = ellipseToCommands(r, r, cx, cy);
4898
4898
  break;
4899
4899
  }
4900
4900
  case Shape.ELLIPSE: {
4901
- var _c = object.parsedStyle, rx = _c.rx, ry = _c.ry, cx = _c.cx, cy = _c.cy;
4901
+ var _k = object.parsedStyle, _l = _k.rx, rx = _l === void 0 ? 0 : _l, _m = _k.ry, ry = _m === void 0 ? 0 : _m, _o = _k.cx, cx = _o === void 0 ? 0 : _o, _p = _k.cy, cy = _p === void 0 ? 0 : _p;
4902
4902
  commands = ellipseToCommands(rx, ry, cx, cy);
4903
4903
  break;
4904
4904
  }
@@ -4908,7 +4908,7 @@ function convertToPath(object, transform) {
4908
4908
  commands = polygonToCommands(points.points, object.nodeName === Shape.POLYGON);
4909
4909
  break;
4910
4910
  case Shape.RECT:
4911
- var _d = object.parsedStyle, width_1 = _d.width, height_1 = _d.height, x = _d.x, y = _d.y, radius = _d.radius;
4911
+ var _q = object.parsedStyle, _r = _q.width, width_1 = _r === void 0 ? 0 : _r, _s = _q.height, height_1 = _s === void 0 ? 0 : _s, _t = _q.x, x = _t === void 0 ? 0 : _t, _u = _q.y, y = _u === void 0 ? 0 : _u, radius = _q.radius;
4912
4912
  var hasRadius = radius && radius.some(function (r) { return r !== 0; });
4913
4913
  commands = rectToCommands(width_1, height_1, x, y, hasRadius &&
4914
4914
  radius.map(function (r) {
@@ -11607,7 +11607,6 @@ var Element = /** @class */ (function (_super) {
11607
11607
  renderBoundsDirty: true,
11608
11608
  dirtyRenderBounds: undefined,
11609
11609
  dirty: false,
11610
- proxyNodeName: undefined,
11611
11610
  };
11612
11611
  _this.cullable = {
11613
11612
  strategy: Strategy.Standard,